Modified building script

This commit is contained in:
Manuel Cortez 2018-12-29 11:32:05 -06:00
parent 6fbbe83dc5
commit eca76715e7

View File

@ -11,8 +11,8 @@ def create_archive():
else: else:
folder = "dist" folder = "dist"
shutil.make_archive("music_dl", "zip", folder) shutil.make_archive("music_dl", "zip", folder)
if os.path.exists("dist"): # if os.path.exists("dist"):
shutil.rmtree("dist") # shutil.rmtree("dist")
if os.path.exists("build"): if os.path.exists("build"):
shutil.rmtree("build") shutil.rmtree("build")
os.chdir("..\\scripts") os.chdir("..\\scripts")