python package: pyo files
Laurent Rineau
laurent.rineau__fedora_extras at normalesup.org
Wed Aug 9 16:38:34 UTC 2006
The guidelines for python packages, at
http://fedoraproject.org/wiki/Packaging/Python, explain how to make the .pyo
files be uninstalled, if the package is uninstalled.
Actually, those guidelines are quite ambiguous: can a package ship .pyo files
or not?
Since rpm-build-4.4.1-0.1 (Dec 05 2004), the rpm macro __os_install_post
contains /usr/lib/rpm/brp-python-bytecompile, which compiles .py files
into .pyc and .pyo.
More information about the fedora-extras-list
mailing list