diff --git a/scripts/prepare_zipversion.py b/scripts/prepare_zipversion.py new file mode 100644 index 0000000..d7bc109 --- /dev/null +++ b/scripts/prepare_zipversion.py @@ -0,0 +1,12 @@ +#! /usr/bin/env python# -*- coding: iso-8859-1 -*- +import shutil +import os + +def create_archive(): + os.chdir("..\\src") + print "Creating zip archive..." + shutil.make_archive("socializer", "zip", "dist") + if os.path.exists("dist"): + shutil.rmtree("dist") + +create_archive() \ No newline at end of file