testrel
37 lines
| 933 B
| text/plain
|
TextLexer
/ tools / testrel
Ville M. Vainio
|
r1032 | #!/bin/sh | ||
# release test | ||||
Fernando Perez
|
r1207 | ipdir=~/ipython/ipython | ||
ipbackupdir=~/ipython/backup | ||||
Ville M. Vainio
|
r1032 | |||
Fernando Perez
|
r1207 | cd $ipdir | ||
# Clean up build/dist directories | ||||
rm -rf $ipdir/build/* | ||||
rm -rf $ipdir/dist/* | ||||
# Perform local backup | ||||
cd $ipdir/tools | ||||
./make_tarball.py | ||||
mv ipython-*.tgz $ipbackupdir | ||||
Ville M. Vainio
|
r1032 | |||
# build source distros | ||||
Fernando Perez
|
r1207 | cd $ipdir | ||
Ville M. Vainio
|
r1032 | ./setup.py sdist --formats=gztar | ||
# Build rpms | ||||
Fernando Perez
|
r1527 | #python2.4 ./setup.py bdist_rpm --binary-only --release=py24 --python=/usr/bin/python2.4 | ||
#python2.5 ./setup.py bdist_rpm --binary-only --release=py25 --python=/usr/bin/python2.5 | ||||
Ville M. Vainio
|
r1032 | |||
# Build eggs | ||||
Fernando Perez
|
r1206 | python2.4 ./setup_bdist_egg.py | ||
python2.5 ./setup_bdist_egg.py | ||||
Ville M. Vainio
|
r1032 | |||
# Call the windows build separately, so that the extra Windows scripts don't | ||||
# get pulled into Unix builds (setup.py has code which checks for | ||||
# bdist_wininst) | ||||
./setup.py bdist_wininst --install-script=ipython_win_post_install.py | ||||
# Change name so retarded Vista runs the installer correctly | ||||
Fernando Perez
|
r1207 | rename 's/win32/win32-setup/' $ipdir/dist/*.exe | ||