mirror of
https://github.com/MCV-Software/TWBlue.git
synced 2024-11-22 19:28:09 -06:00
Added make_archive as a script
This commit is contained in:
parent
7935f79d77
commit
a6032cae46
12
scripts/make_archive.py
Normal file
12
scripts/make_archive.py
Normal 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()
|
Loading…
Reference in New Issue
Block a user