##// END OF EJS Templates
- Make ipdoctest a little cleaner by giving it separate option names....
- Make ipdoctest a little cleaner by giving it separate option names. This is in an attempt at better isolating it from the rest of nose, because we are seeing intermittent Twisted errors when it is enabled. However, I still see them sometimes. - Also, make the reference counting tests a little less verbose.

File last commit:

r1700:4856de67
r1910:8bc770ab
Show More
release
58 lines | 1.6 KiB | text/plain | TextLexer
Ville M. Vainio
crlf -> lf
r1032 #!/bin/sh
# IPython release script
PYVER=`python -V 2>&1 | awk '{print $2}' | awk -F '.' '{print $1$2}' `
version=`ipython -Version`
ipdir=~/ipython/ipython
Fernando Perez
Fixes to build/doc scripts.
r1206 ipbackupdir=~/ipython/backup
Ville M. Vainio
crlf -> lf
r1032
echo
echo "Releasing IPython version $version"
echo "=================================="
# Perform local backup
cd $ipdir/tools
Fernando Perez
Fixes to build/doc scripts.
r1206 ./make_tarball.py
mv ipython-*.tgz $ipbackupdir
Ville M. Vainio
crlf -> lf
r1032
Fernando Perez
Small cleanups for release
r1700 # Clean up build/dist directories
rm -rf $ipdir/build/*
rm -rf $ipdir/dist/*
Ville M. Vainio
crlf -> lf
r1032 # Build source and binary distros
cd $ipdir
./setup.py sdist --formats=gztar
# Build version-specific RPMs, where we must use the --python option to ensure
# that the resulting RPM is really built with the requested python version (so
# things go to lib/python2.X/...)
Fernando Perez
Small cleanups for release
r1700 #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
crlf -> lf
r1032
# Build eggs
Fernando Perez
Fixes to build/doc scripts.
r1206 python2.4 ./setup_bdist_egg.py
python2.5 ./setup_bdist_egg.py
Ville M. Vainio
crlf -> lf
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
rename 's/win32/win32-setup/' $ipdir/dist/*.exe
# Register with the Python Package Index (PyPI)
echo "Registering with PyPI..."
cd $ipdir
./setup.py register
# Upload all files
cd $ipdir/dist
echo "Uploading distribution files..."
scp * ipython@ipython.scipy.org:www/dist/
echo "Uploading backup files..."
Fernando Perez
Fixes to build/doc scripts.
r1206 cd $ipbackupdir
Fernando Perez
Made release 0.8.3.
r1208 scp `ls -1tr *tgz | tail -1` ipython@ipython.scipy.org:www/backup/
Ville M. Vainio
crlf -> lf
r1032
echo "Done!"