How to install a size-package?
johnfabel at btinternet.com
Sun Mar 23 18:37:10 CET 2003
Have a look at Distutils. It will do everything that you're looking
for. The python documentation has a complete section dedicated for it.
Ingo Linkweiler wrote:
> I want to install my software as python site-package.
> I have tested it this way:
> - created a directory "mymod" in the "site-packages"
> - copied my software (submod1.py ... submodn.py) in this directory
> - renamed the main module to "__init__.py"
> This is working, but now I want to write a "setup.py", which will do
> this for the user.
> I have looked at "site.py", but still do not know what to do.
More information about the Python-list