Skip to content

Instantly share code, notes, and snippets.

@GenevieveBuckley
Created May 21, 2019 06:09
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save GenevieveBuckley/fc893569ac957c558059455ce619c027 to your computer and use it in GitHub Desktop.
Save GenevieveBuckley/fc893569ac957c558059455ce619c027 to your computer and use it in GitHub Desktop.
Building wheels and exe files with python
# Build a wheel (outputs to dist/ directory)
python setup.py sdist bdist_wheel
# Build with pyinstaller
pyinstaller myfile.spec -w -F -y
## If no spec file currently exists
pyinstaller mypackage/main.py
@GenevieveBuckley
Copy link
Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment