python packaging - icons/desktop files and /usr/bin accessibility

Pavel Shevchuk stlwrt at gmail.com
Mon May 5 13:29:35 UTC 2008


Put a tiny wrapper in /usr/bin

[stalwart at delta ~]$ cat /usr/bin/pyuic4
#!/bin/sh

exec /usr/bin/python
/usr/lib64/python2.5/site-packages/PyQt4/uic/pyuic.py ${1+"$@"}


On 5/5/08, David Timms <dtimms at iinet.net.au> wrote:
> I'm packaging a basic python program, and request some guidance:
>
>  1. the app has three main .py programs, and another 10 or so .py modules.
> My installed rpm puts these in site-packages/appname which I understand the
> guidelines to require. Problem is these are not accessible as a user because
> they aren't on the path.
>  So it works if I
> /usr/lib/python../site-packages/myapp/app1.py
>
>  Should I be messing with the path ?
>  Creating a shell script for each of the main programs, and dropping them in
> /usr/bin ?
>
>  2. The app is a gui app, but has no icon nor desktop file. I thought I
> might have a go at adjusting the gnome flash player icon to represent flash
> recording capability. I guess I would need to talk to that upstream project
> to see if that would be OK ?
>  The same with the upstream of my package to see if they are happy to have
> there app represented  in this way ?
>
>  0. Should I be submitting the package review, with queries about the above,
> or is it better to get this stuff sorted here first ?
>
>  DaveT.
>
>  --
>  fedora-devel-list mailing list
>  fedora-devel-list at redhat.com
>  https://www.redhat.com/mailman/listinfo/fedora-devel-list
>


-- 
http://scwlab.com




More information about the fedora-devel-list mailing list