Removes dist and build folders when done
This commit is contained in:
parent
0a5822e64e
commit
20a01c8c52
@ -8,5 +8,8 @@ def create_archive():
|
|||||||
shutil.make_archive("socializer", "zip", "dist")
|
shutil.make_archive("socializer", "zip", "dist")
|
||||||
if os.path.exists("dist"):
|
if os.path.exists("dist"):
|
||||||
shutil.rmtree("dist")
|
shutil.rmtree("dist")
|
||||||
|
if os.path.exists("build"):
|
||||||
|
shutil.rmtree("build")
|
||||||
|
os.chdir("..\\scripts")
|
||||||
|
|
||||||
create_archive()
|
create_archive()
|
Loading…
Reference in New Issue
Block a user