##// END OF EJS Templates
Update utility scripts for bzr workflow
Update utility scripts for bzr workflow

File last commit:

r1542:1ca64ecf
r1542:1ca64ecf
Show More
testrel
37 lines | 923 B | text/plain | TextLexer
#!/bin/sh
# release test
ipdir=$PWD/..
ipbackupdir=~/ipython/backup
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
# build source distros
cd $ipdir
./setup.py sdist --formats=gztar
# 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
# Build eggs
python2.4 ./setup_bdist_egg.py
python2.5 ./setup_bdist_egg.py
# 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
rename 's/win32/win32-setup/' $ipdir/dist/*.exe