[Distutils] Deleting build directory

Ram Rachum cool-rr at cool-rr.com
Mon Nov 16 02:47:55 CET 2009


Ben Finney <ben+python <at> benfinney.id.au> writes:

> 
> cool-RR <cool-rr <at> cool-rr.com> writes:
> 
> > What I really want is never having to worry about the build directory
> > being around after doing any actions with `setup.py`. Do you have any
> > other suggestion?
> 
> If you have determined that ‘setup.py install clean’ does what you want,
> then you can create a user-specific ‘setup.cfg’ with this section:
> 
>     [aliases]
>     install = install clean
> 


I just tried `install clean` and it leaves a
build directory. I'll be using distutils to
delete it until someone comes up with a
Distribute-provided solution.

Ram.



More information about the Distutils-SIG mailing list