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

Peter Eisentraut peter_e at gmx.net
Wed May 10 18:54:24 UTC 2006


Marc Dequènes wrote:
> Yes, sorry, i was out of it. The real problem is distutils left alone
> files. You patched the class to remove .pyc earlier, but .pyo files
> should be removed too.

Yes, I thought that's what this was about, but I haven't actually been 
able to reproduce a case where .pyo files are left over.  The fact that 
calling "python setup.py clean" produces .pyc files as a side effect is 
well known in the respective circles, but I don't recall reading 
about .pyo files in that context.  Perhaps the original submitter has 
an example package in mind where the proposed change would be useful?




More information about the Build-common-hackers mailing list