Standard way to distribute utilities with packages

L

Laszlo Nagy

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,774
Messages
2,569,598
Members
45,145
Latest member
web3PRAgeency
Top