Added make_archive as a script

This commit is contained in:
Manuel Cortez 2021-06-28 04:30:42 -05:00
parent 7935f79d77
commit a6032cae46

12
scripts/make_archive.py Normal file
View File

@ -0,0 +1,12 @@
import shutil
import os
import sys
def create_archive():
os.chdir("..\\src")
print("Creating zip archive...")
folder = "dist"
shutil.make_archive("twblue", "zip", folder)
os.chdir("..\\scripts")
create_archive()