Modified zipper script for better Python compatibility

This commit is contained in:
Manuel Cortez 2018-12-28 21:02:52 -06:00
parent ee7231aea6
commit 2956185559

View File

@ -4,7 +4,7 @@ import os
def create_archive(): def create_archive():
os.chdir("..\\src") os.chdir("..\\src")
print "Creating zip archive..." print("Creating zip archive...")
shutil.make_archive("socializer", "zip", "dist/main") shutil.make_archive("socializer", "zip", "dist/main")
if os.path.exists("dist"): if os.path.exists("dist"):
shutil.rmtree("dist") shutil.rmtree("dist")