Python – How do I distribute a Python package that adds an executable to the path?

How do I distribute a Python package that adds an executable to the path?… here is a solution to the problem.

How do I distribute a Python package that adds an executable to the path?

I have a bunch of orders to distribute to my colleagues. They asked me to package and add to their path (/usr/local/bin).

What should I do? We already have a Python repository. Is this possible in egg?

Solution

I

don’t like answering my own questions, but I’ve started looking at this :

http://docs.python.org/distutils/setupscript.html#installing-additional-files

It seems that this is the answer. I’ll update this answer when I try it on Monday. Or, if someone has used something similar before, answer it yourself!

Related Problems and Solutions