twblue/scripts/make_archive.py

12 lines
219 B
Python
Raw Permalink Normal View History

2021-06-28 04:30:42 -05:00
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()