Did you know that if you put a .py file outside /usr/lib/pythonX.Y/, rpmbuild will automatically byte-compile .pyc/.pyo for it?
Using Python 2 by default?

I find this (and especially the details of how it's done) too surprising, too limited and too hard to configure properly. Miro and I are drafting a Fedora change to eventually switch to doing the byte-compilation explicitly instead. Files in /usr/lib/pythonX.Y/ still get compiled automatically, of course.

You can read the draft here:
https://fedoraproject.org/wiki/Changes/No_more_automagic_Python_bytecompilation


--
Petr Viktorin
_______________________________________________
python-devel mailing list -- python-devel@lists.fedoraproject.org
To unsubscribe send an email to python-devel-le...@lists.fedoraproject.org

Reply via email to