Re: python - app packaging - wrapper script ?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



David Timms wrote:

> 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
> 

Not sure what you're trying to do here.

#! /usr/bin/python
print hello

This will run for 'normal user' using just 'script name' if made executable.


-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list

[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux