socializer/nightly/make_zipversion.py

15 lines
413 B
Python
Raw Normal View History

2016-03-26 09:31:06 +01:00
#! /usr/bin/env python# -*- coding: iso-8859-1 -*-
import shutil
def create_build():
os.chdir("../src")
print "Current path is {0}".format(os.getcwd())
subprocess.call(["C:\python27x86\python.exe", "setup.py", "py2exe"])
def create_archive():
print "Creating zip archive..."
shutil.make_archive("socializer-nightly-build", "zip", "socializer")
shutil.rmtree("socializer")
2017-04-30 23:09:11 +02:00
create_build()
2016-03-26 09:31:06 +01:00
create_archive()