[Piuparts-devel] Bug#635139: piuparts: check if Python modules are byte-compiled
jwilk at debian.org
Fri Jul 22 22:46:41 UTC 2011
It'd nice if piuparts could check if packages shipping Python modules
byte-compile them. I.e., after the package is configured, for every
(well, almost) .py file there should exist a .pyc file.
* /usr/share/doc/ should be excluded for obvious reasons.
* /usr/share/pyshared/, /usr/share/python-support/ should be excluded as
well - Python helpers use these directories for technical reasons, and
one is not supposed to import anything directly from them.
More information about the Piuparts-devel