[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: do we need .pyo files?



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

Attachment: pgp3xPUG2qLO3.pgp
Description: PGP signature


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]