[Distutils] setup.py clean questions

Jack Jansen jack@oratrix.nl
Fri Feb 16 05:06:01 2001


> Good point, but unfortunately difficult to implement since the
> clean command gets its parameter from the build command and
> you can easily override the names of the various build directories
> on the command line or via setup.cfg.
> 
> OTOH, the clean could simply *try* to remove the directory
> trees using the default names and produce a warning in case 
> this fails. We'd then need to expose the temp name generation logic
> in the build command, e.g. 'rm -rf temp.<platform>-* lib.<platform>-*'
> should do the trick. Alternatively, the clean command could simply
> remove the complete build_base tree...

Well, Jeremy was asking for a distclean-like facility, so I think that that is 
the solution.

And, while we're at it, I wouldn't mind an uninstall either.
--
Jack Jansen             | ++++ stop the execution of Mumia Abu-Jamal ++++
Jack.Jansen@oratrix.com | ++++ if you agree copy these lines to your sig ++++
www.oratrix.nl/~jack    | see http://www.xs4all.nl/~tank/spg-l/sigaction.htm