##// END OF EJS Templates
Final attempt to fix init_io logic.
Final attempt to fix init_io logic.

File last commit:

r2565:73b8aba2
r2810:41d9236f
Show More
build_release
34 lines | 907 B | text/plain | TextLexer
Fernando Perez
Fixes to build/doc scripts.
r1206 #!/usr/bin/env python
Fernando Perez
Cleaned up release tools directory....
r2118 """IPython release build script.
ville
initialization (no svn history)
r988 """
Fernando Perez
Cleaned up release tools directory....
r2118 from toollib import *
ville
initialization (no svn history)
r988
Fernando Perez
Cleaned up release tools directory....
r2118 # Get main ipython dir, this will raise if it doesn't pass some checks
ipdir = get_ipdir()
cd(ipdir)
ville
initialization (no svn history)
r988
Fernando Perez
Cleaned up release tools directory....
r2118 # Load release info
Brian Granger
Merging -r 1192 from lp:ipython.
r2146 execfile(pjoin('IPython','core','release.py'))
ville
initialization (no svn history)
r988
Fernando Perez
Cleaned up release tools directory....
r2118 # Check that everything compiles
compile_tree()
ville
initialization (no svn history)
r988
Fernando Perez
Cleaned up release tools directory....
r2118 # Cleanup
for d in ['build','dist',pjoin('docs','build'),pjoin('docs','dist')]:
if os.path.isdir(d):
remove_tree(d)
Ville M. Vainio
mkrel changes (copy stff from 'release' sh script)
r1197
# Build source and binary distros
Fernando Perez
Update release tool to always produce zip file.
r2432 c('./setup.py sdist --formats=gztar,zip')
Ville M. Vainio
mkrel changes (copy stff from 'release' sh script)
r1197
# Build eggs
Fernando Perez
Continue tool cleanup....
r2119 c('python2.5 ./setupegg.py bdist_egg')
c('python2.6 ./setupegg.py bdist_egg')
ville
initialization (no svn history)
r988
Fernando Perez
Cleaned up release tools directory....
r2118 # 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)
Fernando Perez
Stop building rpms (they were broken)....
r2565 c("python setup.py bdist_wininst")
ville
initialization (no svn history)
r988
Fernando Perez
Cleaned up release tools directory....
r2118 # Change name so retarded Vista runs the installer correctly
Fernando Perez
Minor fix to naming, apparently something changed in distutils...
r2121 c("rename 's/linux-i686/win32-setup/' dist/*.exe")