##// END OF EJS Templates
Major refactoring of prefilter mechanism. Much of the transformation process has been moved out of the iplib.InteractiveShell class and into a separate module, IPython.prefilter. In addition, extensive tests have been added for prefiltering.
Major refactoring of prefilter mechanism. Much of the transformation process has been moved out of the iplib.InteractiveShell class and into a separate module, IPython.prefilter. In addition, extensive tests have been added for prefiltering.

File last commit:

r503:b114b8cd
r657:499f6d7b
Show More
make_tarball.py
28 lines | 648 B | text/x-python | PythonLexer
import os,sys,shutil
repo = "http://ipython.scipy.org/svn/ipython/ipython/branches/0.7.3"
basename = 'ipython'
workdir = './mkdist'
workdir = os.path.abspath(workdir)
print "working at",workdir
def oscmd(c):
print ">",c
s = os.system(c)
if s:
print "Error",s
sys.exit(s)
assert not os.path.isdir(workdir)
os.mkdir(workdir)
os.chdir(workdir)
oscmd('svn export %s %s' % (repo,basename))
ver = os.popen('svnversion ../..').read().strip()
tarname = '%s.r%s.tgz' % (basename, ver)
oscmd('tar czvf ../%s %s' % (tarname, basename))
print "Produced: ",os.path.abspath('../' + tarname)
os.chdir('/')
shutil.rmtree(workdir)