[Distutils] Patch for clean command

James purpleidea at gmail.com
Thu May 28 22:46:06 CEST 2009


Hi,
I'm certaintly new to distutils and setuptools, however I figured I'd
send in this patch, and either it will get merged because it's a great
idea or someone will perhaps tell me why this doesn't exist already.
(or maybe it does and i can't find it)
In any case, it adds the pyc option to the clean command so that the
.pyc can be removed on request. Personally i'll have a [clean] pyc=1
option in my setup.cfg, but that's for my convenience.
cheers,

_J


[attached: patch and modified file]
-------------- next part --------------
A non-text attachment was scrubbed...
Name: clean.py.patch
Type: text/x-patch
Size: 396 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/distutils-sig/attachments/20090528/7c6c58ef/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: distutils-clean.py
Type: text/x-python
Size: 3272 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/distutils-sig/attachments/20090528/7c6c58ef/attachment.py>


More information about the Distutils-SIG mailing list