From f43cff51943779a7fc7ff0f71de5434a863a8294 Mon Sep 17 00:00:00 2001 From: Fierelier Date: Sat, 19 May 2018 14:08:40 +0200 Subject: [PATCH] Added makezip.py Quickly create zip for publishing --- .gitignore | 1 + makezip.py | 11 +++++++++++ 2 files changed, 12 insertions(+) create mode 100644 makezip.py diff --git a/.gitignore b/.gitignore index e69de29..ed32e63 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +iv-pdhealth.zip \ No newline at end of file diff --git a/makezip.py b/makezip.py new file mode 100644 index 0000000..5a78e2a --- /dev/null +++ b/makezip.py @@ -0,0 +1,11 @@ +import os +import zipfile + +def createZip(): + os.chdir(os.path.dirname(os.path.realpath(__file__))) + zip = zipfile.ZipFile("iv-pdhealth.zip","w",zipfile.ZIP_DEFLATED) + zip.write(os.path.join("scripts","paydayHealth.cs")) + zip.write("README.md","readme.txt") + zip.close() + +createZip() \ No newline at end of file