##// END OF EJS Templates
merged from ~fdo.perez/ipython/trunk-dev
merged from ~fdo.perez/ipython/trunk-dev

File last commit:

r2146:f57d8b10 merge
r2469:81d5b6be merge
Show More
make_tarball.py
23 lines | 552 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
Cleaned up release tools directory....
r2118 import os
import sys
import shutil
Ville M. Vainio
mkrel changes (copy stff from 'release' sh script)
r1197
Fernando Perez
Cleaned up release tools directory....
r2118 from toollib import *
ville
initialization (no svn history)
r988
Fernando Perez
Cleaned up release tools directory....
r2118 c('python update_revnum.py')
ville
initialization (no svn history)
r988
Brian Granger
Merging -r 1192 from lp:ipython.
r2146 execfile('../IPython/core/release.py') # defines version_base
Ville M. Vainio
make_tarball now creates the tarball from bzr with rev & branch info
r1068
Fernando Perez
Cleaned up release tools directory....
r2118 ver = version_info()
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':
Fernando Perez
Cleaned up release tools directory....
r2118 tarname = 'ipython-%s.bzr.r%s.tgz' % (version_base, ver['revno'])
Ville M. Vainio
make_tarball now creates the tarball from bzr with rev & branch info
r1068 else:
Fernando Perez
Cleaned up release tools directory....
r2118 tarname = 'ipython-%s.bzr.r%s.%s.tgz' % (version_base, ver['revno'],
Fernando Perez
Small updates to build tools (rpm building temporarily off)
r1527 ver['branch-nick'])
Ville M. Vainio
make_tarball now creates the tarball from bzr with rev & branch info
r1068
Fernando Perez
Cleaned up release tools directory....
r2118 c('bzr export ' + tarname)