##// END OF EJS Templates
Merge pull request #8062 from minrk/max-width-again...
Merge pull request #8062 from minrk/max-width-again another stab at confining images to page width

File last commit:

r20440:9e1db3ce
r21006:6c367e1e merge
Show More
make_tarball.py
22 lines | 756 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
Min RK
more py3 fixes for release scripts
r20283 import subprocess
Fernando Perez
Cleaned up release tools directory....
r2118 import os
Ville M. Vainio
mkrel changes (copy stff from 'release' sh script)
r1197
Spencer Nelson
Remove unused imports
r16525 from toollib import cd, sh
ville
initialization (no svn history)
r988
Min RK
Python 2 fix in make_tarball.py
r20440 tag = subprocess.check_output('git describe --tags', shell=True).decode('utf8', 'replace').strip()
Fernando Perez
Add 0.10.1 release notes to docs and minor tool updates....
r3135 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 cd('..')
git_tpl = 'git archive --format=tar --prefix={0}/ HEAD | gzip > {1}'
Fernando Perez
Clean up version info tools and remove bzr references.
r3197 sh(git_tpl.format(base_name, tar_name))
sh('mv {0} tools/'.format(tar_name))