From 20a01c8c520360f01073b1333197517b8f304fd7 Mon Sep 17 00:00:00 2001 From: Manuel Cortez Date: Tue, 18 Dec 2018 03:53:13 -0600 Subject: [PATCH] Removes dist and build folders when done --- scripts/prepare_zipversion.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/scripts/prepare_zipversion.py b/scripts/prepare_zipversion.py index d7bc109..7d09633 100644 --- a/scripts/prepare_zipversion.py +++ b/scripts/prepare_zipversion.py @@ -8,5 +8,8 @@ def create_archive(): shutil.make_archive("socializer", "zip", "dist") if os.path.exists("dist"): shutil.rmtree("dist") + if os.path.exists("build"): + shutil.rmtree("build") + os.chdir("..\\scripts") create_archive() \ No newline at end of file