[Distutils] Deleting build directory

Ben Finney ben+python at benfinney.id.au
Sat Nov 14 05:06:48 CET 2009

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:

    install = install clean

 \           “Special cocktails for the ladies with nuts.” —bar, Tokyo |
  `\                                                                   |
_o__)                                                                  |
Ben Finney

More information about the Distutils-SIG mailing list