standardize pyinstaller arguments

This commit is contained in:
Jay Lee
2021-05-11 10:22:29 -04:00
parent f010e59597
commit ebacd9b4b4
2 changed files with 2 additions and 2 deletions

View File

@@ -4,7 +4,7 @@ rm -rf $gampath
#mkdir -p $gampath
#export gampath=$(readlink -e $gampath)
$pip install wheel
$python -OO -m PyInstaller --clean --noupx --strip -F --distpath $distpath gam.spec
$python -OO -m PyInstaller --clean --noupx --strip --distpath $distpath gam.spec
export gam="${gampath}/gam"
export GAMVERSION=`$gam version simple`
cp LICENSE $gampath

View File

@@ -6,7 +6,7 @@ export distpath="dist/"
export gampath="${distpath}/gam"
rm -rf $gampath
export specfile="gam.spec"
$python -OO -m PyInstaller --clean --noupx --strip -F --distpath "${distpath}" "${specfile}"
$python -OO -m PyInstaller --clean --noupx --strip --distpath "${distpath}" "${specfile}"
export gam="${gampath}/gam"
$gam version extended
export GAMVERSION=`$gam version simple`