[Distutils] Deleting build directory
cool-rr at cool-rr.com
Sat Nov 14 00:28:47 CET 2009
Ben Finney <ben+python <at> benfinney.id.au> writes:
> Ram Rachum <cool-rr <at> cool-rr.com> writes:
> > What's the best way to delete the "build" directory both before and
> > after installation, using Distribute? I want to do it so the user will
> > only need to do "setup.py install", and the build directory will be
> > pre- and post-deleted.
> Does the ‘clean’ command do what you want? I would have thought it
> should remove any files generated by ‘build’.
Would I have to type it when calling setup.py?
I want something that won't require that, and
would work when the user does the normal "setup.py
More information about the Distutils-SIG