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