[Distutils] "clean" doesn't

Michael Hudson mwh@python.net
Fri Feb 1 11:55:12 2002

Skip Montanaro <skip@pobox.com> writes:

> (please cc me on any replies - i'm not on the distutils sig)
> Am I missing something or is "python setup.py clean" only a feeble attempt
> at cleaning what was created by distutils?  If I execute
>     python setup.py build
>     python setup.py clean
>     python setup.py build
> the second build does nothing, claiming that everything is up-to-date.  In
> my opinion, the clean command should delete the entire build subdirectory,
> not just the build/temp.<arch> directory.

Have you tried 

python setup.py clean -a

? (like I suggested when you submitted this as a bug)

Perhaps this should be the default?


39. Re graphics:  A picture is worth 10K words - but only those
    to describe the picture.  Hardly any sets of 10K words can be
    adequately described with pictures.
  -- Alan Perlis, http://www.cs.yale.edu/homes/perlis-alan/quotes.html