##// END OF EJS Templates
More work addressing review comments for Fernando's branch....
More work addressing review comments for Fernando's branch. * :mod:`IPython.testing.globalipapp` now directly creates a :class:`~IPython.core.iplib.InteractiveShell` instance by passing it a configuration object, rather than creating an IPython application. * Updated everything in :mod:`IPython.frontend` and :mod:`IPython.gui` to use raw :class:`~IPython.core.iplib.InteractiveShell directly rather than creating an IPython application. * Updated the IPython sphinx extension to use raw :class:`~IPython.core.iplib.InteractiveShell directly rather than creating an IPython application. * Removed code from :mod:`IPython.extensions.pretty` that called :func:`get_ipython` (r1271). * Addressed comment on (r1284) about holding refs to deferreds in :mod:`IPython.kernel.ipclusterapp`. * Removed :mod:`IPython.kernel` from list of modules tested by nose in :mod:`IPython.testing.iptest`. (r1318)

File last commit:

r2146:f57d8b10 merge
r2499:58bf4021
Show More
release
43 lines | 985 B | text/plain | TextLexer
Fernando Perez
Cleaned up release tools directory....
r2118 #!/usr/bin/env python
"""IPython release script.
Ville M. Vainio
crlf -> lf
r1032
Fernando Perez
Cleaned up release tools directory....
r2118 This should only be run at real release time.
"""
Ville M. Vainio
crlf -> lf
r1032
Fernando Perez
Cleaned up release tools directory....
r2118 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
Brian Granger
Merging -r 1192 from lp:ipython.
r2146 execfile(pjoin('IPython','core','release.py'))
Fernando Perez
Cleaned up release tools directory....
r2118
# Where I keep static backups of each release
ipbackupdir = os.path.expanduser('~/ipython/backup')
print
print "Releasing IPython version $version"
print "=================================="
Ville M. Vainio
crlf -> lf
r1032
# Perform local backup
Fernando Perez
Cleaned up release tools directory....
r2118 c('./make_tarball.py')
c('mv ipython-*.tgz %s' % ipbackupdir)
Ville M. Vainio
crlf -> lf
r1032
Fernando Perez
Tools cleanup in getting ready for 0.10.rc....
r2115 # Build release files
Fernando Perez
Cleaned up release tools directory....
r2118 c('./mkrel.py %s' % ipdir)
Ville M. Vainio
crlf -> lf
r1032
# Register with the Python Package Index (PyPI)
Fernando Perez
Cleaned up release tools directory....
r2118 print "Registering with PyPI..."
c('./setup.py register')
Ville M. Vainio
crlf -> lf
r1032
# Upload all files
Fernando Perez
Cleaned up release tools directory....
r2118 cd('dist')
print "Uploading distribution files..."
c('scp * ipython@ipython.scipy.org:www/dist/')
Ville M. Vainio
crlf -> lf
r1032
Fernando Perez
Cleaned up release tools directory....
r2118 print "Uploading backup files..."
cd(ipbackupdir)
c('scp `ls -1tr *tgz | tail -1` ipython@ipython.scipy.org:www/backup/')
Ville M. Vainio
crlf -> lf
r1032
Fernando Perez
Cleaned up release tools directory....
r2118 print "Done!"