[Distutils] Deleting build directory
ben+python at benfinney.id.au
Fri Nov 13 23:59:47 CET 2009
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’.
\ “We are no more free to believe whatever we want about God than |
`\ we are free to adopt unjustified beliefs about science or |
_o__) history […].” —Sam Harris, _The End of Faith_, 2004 |
More information about the Distutils-SIG