palazzo train
palazzo train

Reputation: 3409

How to release a python program to user

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

Answers (2)

Chaolong_Liao
Chaolong_Liao

Reputation: 256

use pyinstaller:

pip install pyinstaller

and then:

pyinstaller -F mycript.py

Upvotes: 8

caimaoy
caimaoy

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

Related Questions