##// END OF EJS Templates
Add 0.10.1 release notes to docs and minor tool updates....
Add 0.10.1 release notes to docs and minor tool updates. These were little fixes I found out while doing the 0.10.1 release, might as well have them all in trunk so we don't have to repeat the process when 0.11 goes out. There are still a few bzr-specific things lingering we need to clean up, but not tonight (most of the toolchain is now git-aware).

File last commit:

r3135:44b12ab0
r3135:44b12ab0
Show More
make_tarball.py
25 lines | 739 B | text/x-python | PythonLexer
Fernando Perez
Fixes to build/doc scripts.
r1206 #!/usr/bin/env python
Fernando Perez
Add 0.10.1 release notes to docs and minor tool updates....
r3135 """Simple script to create a tarball with proper git info.
Fernando Perez
Fixes to build/doc scripts.
r1206 """
ville
initialization (no svn history)
r988
Fernando Perez
Add 0.10.1 release notes to docs and minor tool updates....
r3135 import commands
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
Add 0.10.1 release notes to docs and minor tool updates....
r3135 tag = commands.getoutput('git describe')
base_name = 'ipython-%s' % tag
tar_name = '%s.tgz' % base_name
ville
initialization (no svn history)
r988
Fernando Perez
Add 0.10.1 release notes to docs and minor tool updates....
r3135 # git archive is weird: Even if I give it a specific path, it still won't
# archive the whole tree. It seems the only way to get the whole tree is to cd
# to the top of the tree. There are long threads (since 2007) on the git list
# about this and it still doesn't work in a sensible way...
Ville M. Vainio
make_tarball now creates the tarball from bzr with rev & branch info
r1068
Fernando Perez
Add 0.10.1 release notes to docs and minor tool updates....
r3135 start_dir = os.getcwd()
cd('..')
git_tpl = 'git archive --format=tar --prefix={0}/ HEAD | gzip > {1}'
c(git_tpl.format(base_name, tar_name))
c('mv {0} tools/'.format(tar_name))