Skip to content

Commit

Permalink
<Optimization>[py2app]: <0.28 py2app enables this ⚡️>
Browse files Browse the repository at this point in the history
[]

[#327]
  • Loading branch information
hasii2011 committed Apr 17, 2022
1 parent 115581f commit 759a7fc
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions scripts/packageme.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,14 +18,13 @@ clear
if [[ $# -eq 0 ]] ; then
echo "in alias mode"
rm -rf build dist
python3 setup.py py2app -A --iconfile src/org/pyut/resources/img/Pyut.icns
python setup.py py2app -A --iconfile src/org/pyut/resources/img/Pyut.icns
else
if [[ ${1} = 'deploy' ]] ; then
echo "in deploy mode"
rm -rf build dist
python3 setup.py py2app --packages=wx,xmlschema,pygmlparser --iconfile src/org/pyut/resources/img/Pyut.icns
python -O setup.py py2app --packages=wx,xmlschema,pygmlparser --iconfile src/org/pyut/resources/img/Pyut.icns
else
echo "Unknown command line arguments"
fi
# rm -rf src/UNKNOWN.egg-info
fi

0 comments on commit 759a7fc

Please sign in to comment.