Bug#364365: [Build-common-hackers] Bug#364365: cdbs: python-distutils.mk should remove .pyo files on clean

Marc Dequènes (Duck) duck at duckcorp.org
Wed May 10 12:14:28 UTC 2006

Peter Eisentraut <peter_e at gmx.net> writes:

> Am Sonntag, 23. April 2006 00:43 schrieb Arnaud Fontaine:
>> The  clean target  of python-distutils.mk  should remove  all  the *.pyo
>> files.
> On what grounds?

On the ground of the Python Policy. No .py[co] should go into the
package, bytecompilation is done either at install time by dh_python
calls added in postinst or when necessary by python-support mecanisms.

Marc Dequènes (Duck)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 188 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/build-common-hackers/attachments/20060510/7c897c33/attachment.pgp

More information about the Build-common-hackers mailing list