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]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux