[issue6142] distutils2 clean command: Remove extension modules built in-place

Éric Araujo report at bugs.python.org
Fri Feb 4 04:04:09 CET 2011


Éric Araujo <merwok at netwok.org> added the comment:

Discussion summary:
- clean is supposed to remove the products of build
- build_ext is a subcommand of build
- build_ext with the inplace option writes files that are not removed by clean
- removing .pyc files is out of scope (they’re products of normal Python behavior, not related to distutils)
→ I’m reclassifying this as a distutils2 feature request concerning the products of build_ext --inplace.

I’m not sure whether we should remove those products when the --all option is given to clean, or add a new option that we could enable by default.

----------
assignee: tarek -> 
components: +Distutils2 -Distutils
stage:  -> needs patch
title: Distutils doesn't remove .pyc files -> distutils2 clean command: Remove extension modules built in-place
versions: +3rd party -Python 2.7, Python 3.1

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue6142>
_______________________________________


More information about the Python-bugs-list mailing list