Re: python - app packaging - wrapper script ?

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

 



Neal Becker wrote:
David Timms wrote:

#! /usr/bin/python
print hello

This will run for 'normal user' using just 'script name' if made executable.
I'm at least past "hello world".

The Fedora rpm packaging requirements for python tell me to put the apps' bits a in subdir of the site-packages folder:
/usr/lib/python2.5/site-packages/pyvnc2swf  [on 32 bit]
/usr/lib64/python2.5/site-packages/pyvnc2swf  [on 64 bit]

However, an app in that location is not on the path, and hence can't be invoked with just 'vnc2swf', 'vnc2swf.py'.

Seems the procedure to follow is to make a wrapper script and install it into /usr/bin, that invokes vnc2swf.py which will be in one of the above two folders, dependent on the machine architecture.

I have uploaded that to:
http://members.iinet.net.au/~timmsy/pyvnc2swf/vnc2swf.py

Is that clearer ?

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