Added script to prepare a zipped version ofsocializer
This commit is contained in:
parent
f31a7b736b
commit
325db8ab3c
12
scripts/prepare_zipversion.py
Normal file
12
scripts/prepare_zipversion.py
Normal file
@ -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()
|
Loading…
Reference in New Issue
Block a user