I have a bunch of commands that I want to distribute to my colleagues. They want me to package it and add it to their path (/usr/local/bin
)
How would I do this? We already have a Python repository. Is this possible in an egg
?
I have a bunch of commands that I want to distribute to my colleagues. They want me to package it and add it to their path (/usr/local/bin
)
How would I do this? We already have a Python repository. Is this possible in an egg
?
I dislike answering my own question but I have begun looking at this:
http://docs.python.org/distutils/setupscript.html#installing-additional-files
Seems like it might be the answer. I will update this answer when I try it out on Monday. Or, if anyone has used something like this before, answer yourself!
One option would be to build an RPM. This is generally a pretty convenient way to install files to a predefined location.