[Distutils] setup.py clean questions

Jeremy Kloth jeremy.kloth@fourthought.com
Thu Feb 15 18:48:59 2001


Jeremy Hylton wrote:

> Late in the process, I decided to read the source and discovered a
> --all option to clean.  That indeed got rid of most of the stuff I was
> interested in, but spewed even more warnings about directories that
> didn't exist.  It did not, however, remove the 2.0 directories.

Distutils only knows about the current version of Python that you run
the setup.py script with.  In the case of lib.linux-i686-2.1, it appears
you are running Python 2.1, hence the -2.1 on the directory.  So, if you
want to clean 2.0 directories, run the setup.py script with Python 2.0.

-- 
Jeremy Kloth                             Consultant
jeremy.kloth@fourthought.com             (303)583-9900 x 105
Fourthought, Inc.                        http://www.fourthought.com
Software-engineering, knowledge-management, XML, CORBA, Linux, Python