Compress nightly build in a zip file
This commit is contained in:
parent
828dda3ecd
commit
929250523b
14
nightly/make_zipversion.py
Normal file
14
nightly/make_zipversion.py
Normal file
@ -0,0 +1,14 @@
|
||||
#! /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")
|
||||
|
||||
create_archive()
|
Loading…
Reference in New Issue
Block a user