##// END OF EJS Templates
Stop building rpms (they were broken)....
Fernando Perez -
Show More
@@ -1,42 +1,34 b''
1 1 #!/usr/bin/env python
2 2 """IPython release build script.
3 3 """
4 4 from toollib import *
5 5
6 6 # Get main ipython dir, this will raise if it doesn't pass some checks
7 7 ipdir = get_ipdir()
8 8 cd(ipdir)
9 9
10 10 # Load release info
11 11 execfile(pjoin('IPython','core','release.py'))
12 12
13 13 # Check that everything compiles
14 14 compile_tree()
15 15
16 16 # Cleanup
17 17 for d in ['build','dist',pjoin('docs','build'),pjoin('docs','dist')]:
18 18 if os.path.isdir(d):
19 19 remove_tree(d)
20 20
21 21 # Build source and binary distros
22 22 c('./setup.py sdist --formats=gztar,zip')
23 23
24 # Build version-specific RPMs, where we must use the --python option to ensure
25 # that the resulting RPM is really built with the requested python version (so
26 # things go to lib/python2.X/...)
27 #c("python2.5 ./setup.py bdist_rpm --binary-only --release=py25 "
28 # "--python=/usr/bin/python2.5")
29 #c("python2.6 ./setup.py bdist_rpm --binary-only --release=py26 "
30 # "--python=/usr/bin/python2.6")
31
32 24 # Build eggs
33 25 c('python2.5 ./setupegg.py bdist_egg')
34 26 c('python2.6 ./setupegg.py bdist_egg')
35 27
36 28 # Call the windows build separately, so that the extra Windows scripts don't
37 29 # get pulled into Unix builds (setup.py has code which checks for
38 30 # bdist_wininst)
39 c("python ./setup.py bdist_wininst")
31 c("python setup.py bdist_wininst")
40 32
41 33 # Change name so retarded Vista runs the installer correctly
42 34 c("rename 's/linux-i686/win32-setup/' dist/*.exe")
@@ -1,43 +1,44 b''
1 1 #!/usr/bin/env python
2 2 """IPython release script.
3 3
4 4 This should only be run at real release time.
5 5 """
6 6
7 7 from toollib import *
8 8
9 9 # Get main ipython dir, this will raise if it doesn't pass some checks
10 10 ipdir = get_ipdir()
11 11 cd(ipdir)
12 12
13 13 # Load release info
14 14 execfile(pjoin('IPython','core','release.py'))
15 15
16 16 # Where I keep static backups of each release
17 17 ipbackupdir = os.path.expanduser('~/ipython/backup')
18 18
19 19 print
20 20 print "Releasing IPython version $version"
21 21 print "=================================="
22 22
23 23 # Perform local backup
24 24 c('./make_tarball.py')
25 25 c('mv ipython-*.tgz %s' % ipbackupdir)
26 26
27 27 # Build release files
28 c('./mkrel.py %s' % ipdir)
28 #c('./mkrel.py %s' % ipdir)
29 c('./build_release')
29 30
30 31 # Register with the Python Package Index (PyPI)
31 32 print "Registering with PyPI..."
32 33 c('./setup.py register')
33 34
34 35 # Upload all files
35 36 cd('dist')
36 37 print "Uploading distribution files..."
37 38 c('scp * ipython@ipython.scipy.org:www/dist/')
38 39
39 40 print "Uploading backup files..."
40 41 cd(ipbackupdir)
41 42 c('scp `ls -1tr *tgz | tail -1` ipython@ipython.scipy.org:www/backup/')
42 43
43 44 print "Done!"
General Comments 0
You need to be logged in to leave comments. Login now