I have a command line python script that I'd like to distribute. Being a PHP/Web guy, packaging software like this is a bit new to me.
The python script is simple, currently is run like this.
python /path/to/script -t -s some other argument
The python script requires an external library/package/module that is installed using it's own setup.py script. Currently the user has to do this themselves.
What I'd like to do is have a single rpm that will install the library/package/module using the setup.py, then put my script in /bin (or wherever it needs to go in this case).
That way the end user can download the rpm, install it, and simply use the script like so.
script -t -s some other argument
How can I go about this? None of the documentation, guides I've found is beginner friendly. The target OS is CentOS 6.
Yes, the licensing of the external library/package/module allows me to do this.