Standard way to distribute utilities with packages

Laszlo Nagy gandalf at shopzeus.com
Sun Mar 27 16:05:30 EDT 2011


I'd like to distribute a pure Python package named "foo". By default it 
will be placed in lib/site-packages/foo. What if I want to add 
utilities? Command line or GUI programs that are not full featured 
applications, but they can be handy for some tasks that are related to 
the package. Here is what I see:

* Python places them under "tools" in the Python installation dir (under 
windows). I'm not sure about Unix.

Other variants:

* site-packages/foo/scripts  (example: win32)
* site-packages/foo/util (example: vtk)
* directory site-packages/foo/tools (example: numpy)

Is there a PEP number / standard way for this?

Thanks,

    Laszlo


-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.




More information about the Python-list mailing list