##// END OF EJS Templates
Add the igrid help files to the list of data files...
Add the igrid help files to the list of data files to be installed alongside igrid.

File last commit:

r503:b114b8cd
r545:e1046222
Show More
make_tarball.py
28 lines | 648 B | text/x-python | PythonLexer
vivainio
make_tarball.py fixes
r479 import os,sys,shutil
vivainio
make_tarball.py first ver
r478
vivainio
merge all from 0.7.3 branch to trunk
r503 repo = "http://ipython.scipy.org/svn/ipython/ipython/branches/0.7.3"
vivainio
make_tarball.py first ver
r478 basename = 'ipython'
workdir = './mkdist'
workdir = os.path.abspath(workdir)
vivainio
make_tarball.py fixes
r479
print "working at",workdir
vivainio
make_tarball.py first ver
r478 def oscmd(c):
print ">",c
vivainio
make_tarball.py fixes
r479 s = os.system(c)
if s:
print "Error",s
sys.exit(s)
vivainio
make_tarball.py first ver
r478
assert not os.path.isdir(workdir)
os.mkdir(workdir)
os.chdir(workdir)
vivainio
do export in make_tarball
r482 oscmd('svn export %s %s' % (repo,basename))
ver = os.popen('svnversion ../..').read().strip()
vivainio
make_tarball.py first ver
r478 tarname = '%s.r%s.tgz' % (basename, ver)
vivainio
make_tarball.py fixes
r479 oscmd('tar czvf ../%s %s' % (tarname, basename))
print "Produced: ",os.path.abspath('../' + tarname)
vivainio
do export in make_tarball
r482 os.chdir('/')
vivainio
make_tarball.py first ver
r478 shutil.rmtree(workdir)