python - app packaging - wrapper script ?

David Timms dtimms at iinet.net.au
Wed Jun 11 10:53:33 UTC 2008


Hi, I'm packaging a python based app [1], that I want to make a wrapper 
script [2] {or similar} for, so the app can start from a normal user 
terminal, with just the script name.

I have had a couple of goes, but I'm not getting it. It's supposed to 
detect the appropriate lib/lib64 directory, append the 
site-lib/appfolder path, and call the python app. Any pythonites know a 
solution ?

Or another app that does this sort of thing {this was based on yum's 
starter script, but the .py module is a bit simpler than yum.

DaveT

[1] https://bugzilla.redhat.com/show_bug.cgi?id=448201
[2] https://bugzilla.redhat.com/attachment.cgi?id=308584




More information about the fedora-list mailing list