do we need .pyo files?

Jesse Keating jkeating at redhat.com
Mon Apr 16 16:44:49 UTC 2007


On Monday 16 April 2007 12:36:34 Jeremy Katz wrote:
> If we don't generate them, then they get generated at runtime if you run
> any python app/scripts with -O2 (either explicitly, or via the #! at the
> top).  This then either tries to write to /usr and fails, generates
> avcs, or any of a number of other such things.
>
> It's far better to generate them (and add the hardlinking optimization
> for where they're the same) than to not have them on the system and then
> have them trying to be generated.

Also it allows for us to remove them when removing the rpm instead of leaving 
pydroppings all over the file system.

-- 
Jesse Keating
Release Engineer: Fedora
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/fedora-devel-list/attachments/20070416/cd1d1f6c/attachment.sig>


More information about the fedora-devel-list mailing list