Show More
@@ -1,23 +1,21 | |||
|
1 | 1 | #!/usr/bin/env python |
|
2 | 2 | """Simple script to create a tarball with proper bzr version info. |
|
3 | 3 | """ |
|
4 | 4 | |
|
5 | 5 | import os |
|
6 | 6 | import sys |
|
7 | 7 | import shutil |
|
8 | 8 | |
|
9 | 9 | from toollib import * |
|
10 | 10 | |
|
11 | c('python update_revnum.py') | |
|
12 | ||
|
13 | 11 | execfile('../IPython/Release.py') # defines version_base |
|
14 | 12 | |
|
15 | 13 | ver = version_info() |
|
16 | 14 | |
|
17 | 15 | if ver['branch-nick'] == 'ipython': |
|
18 | 16 | tarname = 'ipython-%s.bzr.r%s.tgz' % (version_base, ver['revno']) |
|
19 | 17 | else: |
|
20 | 18 | tarname = 'ipython-%s.bzr.r%s.%s.tgz' % (version_base, ver['revno'], |
|
21 | 19 | ver['branch-nick']) |
|
22 | 20 | |
|
23 | 21 | c('bzr export ' + tarname) |
General Comments 0
You need to be logged in to leave comments.
Login now