[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

python package: pyo files



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.


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]