-
-
Save ben-hearn-sb/4bea2a9975455e7c7e71aedc41b8c867 to your computer and use it in GitHub Desktop.
pyinstaller code for mac
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
import os | |
current_dir = os.path.dirname(os.path.dirname(__file__)) | |
PyInstaller.__main__.run([ | |
'--name=%s' % '__eTrax_mac (0.9.2 beta)', | |
'--distpath=%s' % '/Users/benhearn/Documents/etrax_build/mac/dist', | |
'--workpath=%s' % '/Users/benhearn/Documents/etrax_build/mac/build', | |
'--paths=%s' % '/Users/benhearn/Documents/etrax/venv/src/etrax', | |
'--add-data=%s' % '/usr/local/lib/python3.7/site-packages/ftfy/char_classes.dat:ftfy', | |
'--add-data=%s' % '/Users/benhearn/Documents/collection_cleanup/venv/src/collection_cleanup/etrax/icons/*.png:etrax/icons', | |
'--noconfirm', | |
'--onefile', | |
'--debug=all', | |
'--windowed', | |
#'--noconsole', | |
os.path.join(current_dir+'/etrax/', 'main.py') | |
]) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment