packaging pyc files - again

Zoltan Kota s.mako at gmx.net
Mon Aug 9 09:37:05 UTC 2004


Hi,

There was a thread in this list about packaging python pyc and pyo files:
http://www.redhat.com/archives/fedora-devel-list/2004-February/msg00115.html
As I see there was no consensus if pyc files should be included
or %ghost-ed.
The spec template of fedora-rpmdevtools mentions only that *.pyo should be
marked as %ghost.
I am submitting a python application to Fedora Extras which contains the
pyc files by default. It is not clear if I should %ghost the pyc files or
not (my srpm was set as NEEDSWORK in fedora.us). As I know having the pyc
files might make the application to load a
bit faster. Since the program is executed normally by normal users, the
pyc files cannot be created automatically by python in /usr/share/app
where the files are installed.
Please help me to clarify what to do.

Zoltan







More information about the fedora-devel-list mailing list