##// END OF EJS Templates
Releasing version 0.10.1....
Releasing version 0.10.1. A few last-minute fixes in various places for docs to build and full test suite to pass, as well as documenting the release in the docs.

File last commit:

r3133:5d37858c
r3133:5d37858c
Show More
build_release
37 lines | 1.0 KiB | text/plain | TextLexer
#!/usr/bin/env python
"""IPython release build script.
"""
from toollib import *
# Get main ipython dir, this will raise if it doesn't pass some checks
ipdir = get_ipdir()
cd(ipdir)
# Load release info
execfile(pjoin('IPython','Release.py'))
# Check that everything compiles
compile_tree()
# Cleanup
for d in ['build','dist',pjoin('docs','build'),pjoin('docs','dist'),
pjoin('docs','source','api','generated')]:
if os.path.isdir(d):
remove_tree(d)
# Build source and binary distros
c('./setup.py sdist --formats=gztar,zip')
# Build eggs
#c('python2.5 ./setupegg.py bdist_egg')
c('python2.6 ./setupegg.py bdist_egg')
# 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)
c("python setup.py bdist_wininst --install-script=ipython_win_post_install.py")
# Change name so retarded Vista runs the installer correctly
c("rename 's/linux-i686/win32-setup/' dist/*.exe")
c("rename 's/linux-x86_64/win32-setup/' dist/*.exe")