<br><br>On Tuesday, September 13, 2011, Toshio Kuratomi <<a href="mailto:a.badger@gmail.com">a.badger@gmail.com</a>> wrote:<br>> I was working on a python-pygments/python26-pygments bug today and found<br>> that the byte compilation of the packages was... wrong.  Changing various<br>
> setings to do with the automatic byte compilation of python modules to byte<br>> code, I could either get everything compiled with python-2.6 or everything<br>> compiled with python-2.4; I could not get the python26 subpackage compiled<br>
> with python-2.6 and the python 2.4 portion compiled with python-2.4.<br>><br><br>You have to do the byte compiling fairly manually in this case of py26 in the<br>same package.<br><br>I believe that Python_pbs is for instance correct but I can't verify myself at moment.<br>
<br><a href="http://pkgs.fedoraproject.org/gitweb/?p=python-pbs.git;a=blob;f=python-pbs.spec;h=441b3d7e5befce2144b54436cedfdb60588e1ce8;hb=f1573df43d2ea04000f9c42b76fb0b4e4c5bb072">http://pkgs.fedoraproject.org/gitweb/?p=python-pbs.git;a=blob;f=python-pbs.spec;h=441b3d7e5befce2144b54436cedfdb60588e1ce8;hb=f1573df43d2ea04000f9c42b76fb0b4e4c5bb072</a><br>
<br>Steve.<br><br><br>> What other packages are there in EPEL that are using the subpackage approach<br>> to build both for python-2.4 and python26?  Could maintainers take a moment<br>> to check whether the byte code in both the main python-* and the python26-*<br>
> packages are correctly byte compiled?  (I checked by running Fedora-14's<br>> rpmlint on the packages.  It can detect incorrect byte code compilation for<br>> python modules (those in /use/lib/pythonX.Y/site-packages)),<br>
><br>> If you find that your package is not correctly byte compiled, can you<br>> mention it here so that we know how many packages are affected?  If your<br>> package *is* correcttly byte compiled, can you mention it here, perhaps with<br>
> the spec file so that we can figure out if it's even possible to do this<br>> correctly?<br>><br>> Thanks,<br>> Toshio<br>><br><br>-- <br>Steve Traylen<br><br>