forked from ipython/ipython
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
A few last-minute fixes in various places for docs to build and full test suite to pass, as well as documenting the release in the docs.
- Loading branch information
Showing
10 changed files
with
122 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,25 @@ | ||
#!/usr/bin/env python | ||
"""Simple script to create a tarball with proper bzr version info. | ||
"""Simple script to create a tarball with proper git info. | ||
""" | ||
|
||
import commands | ||
import os | ||
import sys | ||
import shutil | ||
|
||
from toollib import * | ||
|
||
execfile('../IPython/Release.py') # defines version_base | ||
tag = commands.getoutput('git describe') | ||
base_name = 'ipython-%s' % tag | ||
tar_name = '%s.tgz' % base_name | ||
|
||
ver = version_info() | ||
# 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... | ||
|
||
if ver['branch-nick'] == 'ipython': | ||
tarname = 'ipython-%s.bzr.r%s.tgz' % (version_base, ver['revno']) | ||
else: | ||
tarname = 'ipython-%s.bzr.r%s.%s.tgz' % (version_base, ver['revno'], | ||
ver['branch-nick']) | ||
|
||
c('bzr export ' + tarname) | ||
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)) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters