Bug#364365: [Build-common-hackers] Bug#364365: cdbs:
python-distutils.mk should remove .pyo files on clean
Arnaud Fontaine
arnaud at andesi.org
Thu May 11 14:45:38 UTC 2006
>>>>> "Peter" == Peter Eisentraut <peter_e at gmx.net> writes:
Peter> Yes, I thought that's what this was about, but I haven't
Peter> actually been able to reproduce a case where .pyo files are
Peter> left over. The fact that calling "python setup.py clean"
Peter> produces .pyc files as a side effect is well known in the
Peter> respective circles, but I don't recall reading about .pyo
Peter> files in that context. Perhaps the original submitter has an
Peter> example package in mind where the proposed change would be
Peter> useful?
Hello,
It could me useful IMHO if you have for instance a setup.cfg which looks
like this :
[install_lib]
compile = 1
optimize = 1
I don't understand really why if you remove *.pyc, you don't remove
*.pyo too. Could you clarify this point for me ?
Regards,
Arnaud Fontaine
More information about the Build-common-hackers
mailing list