Fixed zipfile generator
This commit is contained in:
parent
ea04cf2eb1
commit
ff8c8ac22b
@ -6,10 +6,7 @@ import sys
|
|||||||
def create_archive():
|
def create_archive():
|
||||||
os.chdir("..\\src")
|
os.chdir("..\\src")
|
||||||
print("Creating zip archive...")
|
print("Creating zip archive...")
|
||||||
if sys.version[0] == "3":
|
folder = "dist"
|
||||||
folder = "dist/main"
|
|
||||||
else:
|
|
||||||
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")
|
||||||
|
Loading…
Reference in New Issue
Block a user