Modified zipper script for better Python compatibility
This commit is contained in:
parent
ee7231aea6
commit
2956185559
@ -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")
|
||||||
|
Loading…
Reference in New Issue
Block a user