Reputation: 3409
I have developed a python program by anaconda as my development environment. How can I package my python program (let say it is just 1 .py file now) and distribute to user's PC for them to run?
Upvotes: 2
Views: 5936
Reputation: 256
use pyinstaller:
pip install pyinstaller
and then:
pyinstaller -F mycript.py
Upvotes: 8
Reputation: 1228
Maybe you can follow the step of the pages:
http://docs.python-guide.org/en/latest/shipping/packaging/
https://python-packaging-user-guide.readthedocs.io/
Make a script in setup.py
; upload your package; let your users install by pip
Then use it.
Upvotes: 2