##// END OF EJS Templates
Small cleanups for release
Fernando Perez -
Show More
@@ -1,7 +1,5 b''
1 # -*- coding: utf-8 -*-
1 # -*- coding: utf-8 -*-
2 """Release data for the IPython project.
2 """Release data for the IPython project."""
3
4 $Id: Release.py 3002 2008-02-01 07:17:00Z fperez $"""
5
3
6 #*****************************************************************************
4 #*****************************************************************************
7 # Copyright (C) 2001-2006 Fernando Perez <fperez@colorado.edu>
5 # Copyright (C) 2001-2006 Fernando Perez <fperez@colorado.edu>
@@ -25,7 +23,7 b" name = 'ipython'"
25 development = False # change this to False to do a release
23 development = False # change this to False to do a release
26 version_base = '0.9'
24 version_base = '0.9'
27 branch = 'ipython'
25 branch = 'ipython'
28 revision = '1124'
26 revision = '1143'
29
27
30 if development:
28 if development:
31 if branch == 'ipython':
29 if branch == 'ipython':
@@ -10,17 +10,15 b' echo'
10 echo "Releasing IPython version $version"
10 echo "Releasing IPython version $version"
11 echo "=================================="
11 echo "=================================="
12
12
13 echo "Marking ChangeLog with release information and making NEWS file..."
14
15 # Clean up build/dist directories
16 rm -rf $ipdir/build/*
17 rm -rf $ipdir/dist/*
18
19 # Perform local backup
13 # Perform local backup
20 cd $ipdir/tools
14 cd $ipdir/tools
21 ./make_tarball.py
15 ./make_tarball.py
22 mv ipython-*.tgz $ipbackupdir
16 mv ipython-*.tgz $ipbackupdir
23
17
18 # Clean up build/dist directories
19 rm -rf $ipdir/build/*
20 rm -rf $ipdir/dist/*
21
24 # Build source and binary distros
22 # Build source and binary distros
25 cd $ipdir
23 cd $ipdir
26 ./setup.py sdist --formats=gztar
24 ./setup.py sdist --formats=gztar
@@ -28,8 +26,8 b' cd $ipdir'
28 # Build version-specific RPMs, where we must use the --python option to ensure
26 # Build version-specific RPMs, where we must use the --python option to ensure
29 # that the resulting RPM is really built with the requested python version (so
27 # that the resulting RPM is really built with the requested python version (so
30 # things go to lib/python2.X/...)
28 # things go to lib/python2.X/...)
31 python2.4 ./setup.py bdist_rpm --binary-only --release=py24 --python=/usr/bin/python2.4
29 #python2.4 ./setup.py bdist_rpm --binary-only --release=py24 --python=/usr/bin/python2.4
32 python2.5 ./setup.py bdist_rpm --binary-only --release=py25 --python=/usr/bin/python2.5
30 #python2.5 ./setup.py bdist_rpm --binary-only --release=py25 --python=/usr/bin/python2.5
33
31
34 # Build eggs
32 # Build eggs
35 python2.4 ./setup_bdist_egg.py
33 python2.4 ./setup_bdist_egg.py
General Comments 0
You need to be logged in to leave comments. Login now