testrel
28 lines
| 775 B
| text/plain
|
TextLexer
/ tools / testrel
fperez
|
r0 | #!/bin/sh | ||
# release test | ||||
fperez
|
r969 | cd ~/ipython/ipython | ||
fperez
|
r0 | # clean up build/dist directories | ||
fperez
|
r969 | rm -rf build/* | ||
rm -rf dist/* | ||||
fperez
|
r0 | |||
# build source distros | ||||
./setup.py sdist --formats=gztar | ||||
fperez
|
r895 | # Build rpms | ||
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 | ||||
fperez
|
r0 | |||
fperez
|
r92 | # Build eggs | ||
fperez
|
r895 | python2.4 ./eggsetup.py bdist_egg | ||
python2.5 ./eggsetup.py bdist_egg | ||||
fperez
|
r92 | |||
fperez
|
r0 | # 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) | ||||
fperez
|
r314 | ./setup.py bdist_wininst --install-script=ipython_win_post_install.py | ||
fperez
|
r969 | |||
# Change name so retarded Vista runs the installer correctly | ||||
rename 's/win32/win32-setup/' dist/*.exe | ||||