##// END OF EJS Templates
Merge in all development done in bzr since February 16 2008....
Merge in all development done in bzr since February 16 2008. At that time, a clean bzr branch was started from the SVN tree, but without SVN history. That SVN history has now been used as the basis of this branch, and the development done on the history-less BZR branch has been added and is the content of this merge. This branch will be the new official main line of development in Launchpad (equivalent to the old SVN trunk).

File last commit:

r1206:86a76129
r1218:6b454030 merge
Show More
make_tarball.py
36 lines | 753 B | text/x-python | PythonLexer
Fernando Perez
Fixes to build/doc scripts.
r1206 #!/usr/bin/env python
"""Simple script to create a tarball with proper bzr version info.
"""
ville
initialization (no svn history)
r988
Fernando Perez
Fixes to build/doc scripts.
r1206 import os,sys,shutil
Ville M. Vainio
mkrel changes (copy stff from 'release' sh script)
r1197
Ville M. Vainio
make_tarball now creates the tarball from bzr with rev & branch info
r1068 basever = '0.8.3'
ville
initialization (no svn history)
r988
def oscmd(c):
print ">",c
s = os.system(c)
if s:
print "Error",s
sys.exit(s)
Ville M. Vainio
make_tarball now creates the tarball from bzr with rev & branch info
r1068 def verinfo():
out = os.popen('bzr version-info')
pairs = (l.split(':',1) for l in out)
d = dict(((k,v.strip()) for (k,v) in pairs))
return d
basename = 'ipython'
#tarname = '%s.r%s.tgz' % (basename, ver)
Ville M. Vainio
mkrel changes (copy stff from 'release' sh script)
r1197 oscmd('python update_revnum.py')
Ville M. Vainio
make_tarball now creates the tarball from bzr with rev & branch info
r1068
ver = verinfo()
ville
initialization (no svn history)
r988
Ville M. Vainio
make_tarball now creates the tarball from bzr with rev & branch info
r1068 if ver['branch-nick'] == 'ipython':
tarname = 'ipython-%s.bzr.r%s.tgz' % (basever, ver['revno'])
else:
tarname = 'ipython-%s.bzr.r%s.%s.tgz' % (basever, ver['revno'], ver['branch-nick'])
oscmd('bzr export ' + tarname)
ville
initialization (no svn history)
r988