python package: pyo files
Jeremy Katz
katzj at redhat.com
Wed Aug 9 21:24:47 UTC 2006
On Wed, 2006-08-09 at 16:54 -0400, Jesse Keating wrote:
> On Wednesday 09 August 2006 16:45, Jeremy Katz wrote:
> > On Wed, 2006-08-09 at 13:32 -0400, Konstantin Ryabitsev wrote:
> > > On 8/9/06, Jeremy Katz <katzj at redhat.com> wrote:
> > > > They need to be present so that things can end up with the correct
> > > > SELinux context -- otherwise, if you run a python app with -O2 as a
> > > > user, you end up getting various avc denials
> > >
> > > So, what does that mean in terms of %ghost?
> >
> > That it's not a good idea and the .pyo files should just be included in
> > the package
>
> This is reason enough for me to amend the Python packaging rule for this.
>
> If you want .pyo, do it when building and package them up.
... they automatically get generated with current redhat-rpm-config (and
with what was shipped in FC5... possibly even FC4, but I'd have to go
look and am too lazy to do that atm ;-). The key is just making sure
you include them in your package's %files
Jeremy
More information about the fedora-extras-list
mailing list