Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
Updated all wc_*.py scripts so that they can be called via command li…
…ne as well as from another python script. Updated the README file. Extended the build script so that now all executables are in one directory, the bin directory.
- Loading branch information
Showing
8 changed files
with
437 additions
and
274 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,21 @@ | ||
#!/bin/bash | ||
|
||
PYDIR=. | ||
INSTALLDIR=dist/. | ||
INSTALLDIR=dist | ||
|
||
for FILE in ${PYDIR}/*.py; do | ||
cd ${PYDIR} | ||
|
||
if [ -d bin ]; then | ||
rm -rf bin/* | ||
else | ||
mkdir bin | ||
fi | ||
|
||
for FILE in wc_*.py; do | ||
pyinstaller --distpath ${INSTALLDIR} ${FILE} | ||
cp ${INSTALLDIR}/wc_*/* bin | ||
rm -rf ${INSTALLDIR}/wc_* | ||
done | ||
|
||
|
||
rm -rf ${INSTALLDIR} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.