Python package packaging question

Michel Alexandre Salim salimma at fastmail.fm
Tue Feb 3 03:38:17 UTC 2004


On Mon, 2004-02-02 at 15:59 -0500, Toshio wrote:
[snip]
> I want to include the foo.py script so everyone can see how it works.
> Do I also want to include the byte compiled versions to reduce startup
> time?  Do I want to include the pyc or pyo file?
> I figure that if I don't include one, I still have to %ghost it in case
> root happens to byte-compile it later, the package will know to own the
> generated file.
> 
The way Fedora.us Python packages are done, following the example of
id3-py, is to include pyc and ghost the pyo.

HTH,

Michel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://listman.redhat.com/archives/fedora-devel-list/attachments/20040203/42138381/attachment.sig>


More information about the fedora-devel-list mailing list