How to distribute a python application with all the dependencies

I want to distribute a python application with all its dependencies. The target machine does not have an external connection, so I cannot pip installdo anything and all packages must be included.

I am using python 2.7 for my application and the target machine has a different version of python. I would like the python 2.7 package as part of my distribution.

Any ideas?

+4
source share
1 answer

If you want to distribute on Windows, you can use py2exe: http://www.py2exe.org/ or the cross-platform http://www.pyinstaller.org/

, , .

0

Source: https://habr.com/ru/post/1652427/


All Articles