[Distutils] Deleting build directory

Tarek Ziadé ziade.tarek at gmail.com
Sat Nov 14 10:42:47 CET 2009


On Sat, Nov 14, 2009 at 5:06 AM, Ben Finney <ben+python at benfinney.id.au> wrote:
> 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


Semi-related:
I was wondering if a pre/post install hook to the install command
could be useful.

Tarek


More information about the Distutils-SIG mailing list