##// END OF EJS Templates
Clean up test release script.
Fernando Perez -
r1553:7984f0de merge
parent child Browse files
Show More
@@ -1,37 +1,31 b''
1 #!/bin/sh
1 #!/bin/sh
2
2
3 # release test
3 # release test
4
4
5 ipdir=$PWD/..
5 ipdir=$PWD/..
6 ipbackupdir=~/ipython/backup
7
6
8 cd $ipdir
7 cd $ipdir
9
8
10 # Clean up build/dist directories
9 # Clean up build/dist directories
11 rm -rf $ipdir/build/*
10 rm -rf $ipdir/build/*
12 rm -rf $ipdir/dist/*
11 rm -rf $ipdir/dist/*
13
12
14 # Perform local backup
15 cd $ipdir/tools
16 ./make_tarball.py
17 mv ipython-*.tgz $ipbackupdir
18
19 # build source distros
13 # build source distros
20 cd $ipdir
14 cd $ipdir
21 ./setup.py sdist --formats=gztar
15 ./setup.py sdist --formats=gztar
22
16
23 # Build rpms
17 # Build rpms
24 #python2.4 ./setup.py bdist_rpm --binary-only --release=py24 --python=/usr/bin/python2.4
18 #python2.4 ./setup.py bdist_rpm --binary-only --release=py24 --python=/usr/bin/python2.4
25 #python2.5 ./setup.py bdist_rpm --binary-only --release=py25 --python=/usr/bin/python2.5
19 #python2.5 ./setup.py bdist_rpm --binary-only --release=py25 --python=/usr/bin/python2.5
26
20
27 # Build eggs
21 # Build eggs
28 python2.4 ./setup_bdist_egg.py
22 python2.4 ./setup_bdist_egg.py
29 python2.5 ./setup_bdist_egg.py
23 python2.5 ./setup_bdist_egg.py
30
24
31 # Call the windows build separately, so that the extra Windows scripts don't
25 # Call the windows build separately, so that the extra Windows scripts don't
32 # get pulled into Unix builds (setup.py has code which checks for
26 # get pulled into Unix builds (setup.py has code which checks for
33 # bdist_wininst)
27 # bdist_wininst)
34 ./setup.py bdist_wininst --install-script=ipython_win_post_install.py
28 ./setup.py bdist_wininst --install-script=ipython_win_post_install.py
35
29
36 # Change name so retarded Vista runs the installer correctly
30 # Change name so retarded Vista runs the installer correctly
37 rename 's/win32/win32-setup/' $ipdir/dist/*.exe
31 rename 's/win32/win32-setup/' $ipdir/dist/*.exe
General Comments 0
You need to be logged in to leave comments. Login now