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