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

Popular posts from this blog

asp.net - Javascript/DOM Why is does my form not support submit()? -

sockets - Delphi: TTcpServer, connection reset when reading -

javascript - Classic ASP "ExecuteGlobal" statement acting differently on two servers -