python - Cleaning build directory in setup.py -
How can I create my setup.py
pre-delete and delete the build directory ?
For pre-extinction, it should only be used for distutils.dir_util.remove_tree
Delete with call before calling
For post-delete, I believe that you want to post-delete only after the selected command override the related command sub-class, its run method (apply to remove_tree after calling the base run ), And pass the new command in the setup of the CMDClass dictionary.
Comments
Post a Comment