13 Nov
2009
13 Nov
'09
11:28 p.m.
Ben Finney
Ram Rachum
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 install". Ram.