Python Packaging - Distutils for the program

I understand that distutils is a defacto standard for the world of installing modules using a common

setup.py install 

But what if I do not want to install my program as a module, but instead as a program that can be executed by the user?

If I do not understand, I am very sorry, but do not hesitate to ask more questions. Thanks!

+4
source share
2 answers

I hope you structure your code so that most of it is modular and can be imported into other code. In this structure, than your application, is a wrapper between the command line of the program and / or other user interfaces and functions provided by your modules.

In this case, a pointer to the relevant documentation for Installing Scripts .

+3
source

Do you mean how .exe? Use cx_freeze or py2exe.

+1
source

All Articles