#!/bin/sh # release test # clean up build/dist directories rm -rf ~/ipython/ipython/build/* rm -rf ~/ipython/ipython/dist/* # build source distros cd ~/ipython/ipython ./setup.py sdist --formats=gztar python2.3 ./setup.py bdist_rpm --release=py23 --python=/usr/bin/python2.3 python2.4 ./setup.py bdist_rpm --release=py24 --python=/usr/bin/python2.4 # Build eggs python2.3 ./setup_bdist_egg.py python2.4 ./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) # For now, make the win32 installer with a hand-built 2.3.5 python, which is # the only one that fixes a crash in the post-install phase. $HOME/tmp/local/bin/python2.3 setup.py bdist_wininst \ --install-script=ipython_win_post_install.py