diff between Fedora + EPEL builds (python)

Neal Becker ndbecker2 at gmail.com
Fri Sep 21 01:45:09 UTC 2007

Jeremy Katz wrote:

> On Thu, 2007-09-20 at 20:09 -0400, Neal Becker wrote:
>> I'm having trouble updating mecurial.  I pushed an update to F-7 and
>> devel.
>> It doesn't build on EL-4 though.  The problem seems to be, that python
>> setup.py build/install creates .pyc/.pyo on  F-7 and devel, but not on
>> EL-4.  Then, I get 'file not found by glob' for the missing files.  I
>> also
>> tried %ghost on them, but EL-4 still complains they're missing.  Anyone
>> know what this is about and maybe how to fix it?  I'd like to make
>> mercurial for EL-4.
> RHEL4 doesn't do automatic byte-compiling of .py files.  You can change
> the invocation of the setup install to be -O2 instead of -O1 to get
> the .pyo files generated as well
> Jeremy

Thanks - but still fails.  Acutally, it doesn't generate .pyc or .pyo. 
Still not sure how to fix this.


More information about the fedora-devel-list mailing list