##// END OF EJS Templates
Fix test_map_iterable()
Fix test_map_iterable()

File last commit:

r7751:e4342173
r12175:e7e6857c
Show More
build_release
49 lines | 1.4 KiB | 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
Build 64-bit windows installer via Wine.
r6601
import os
Fernando Perez
Cleaned up release tools directory....
r2118 from toollib import *
ville
initialization (no svn history)
r988
Fernando Perez
Minor updates to release tools.
r7751 # The windows builds are fairly painful to set up on a posix system via wine,
# so by default we've disabled them and we just build the windows installers
# separately in a true Windows VM.
do_windows = False
# Egg building is also disabled by default. They serve no real purpose in
# python2, and getting a setupegg.py file that has valid python2/3 syntax is a
# pain in the ass. Since the python devs were too stubborn to leave execfile()
# in place in python3, then we just don't build eggs.
do_eggs = False
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
Fernando Perez
Minor date/info updates for release.
r4451 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
Fernando Perez
Minor date/info updates for release.
r4451 for d in ['build', 'dist', pjoin('docs', 'build'), pjoin('docs', 'dist'),
pjoin('docs', 'source', 'api', 'generated')]:
Fernando Perez
Cleaned up release tools directory....
r2118 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
Put build cmds in a single place to minimize repetition errors.
r6605 sh(sdists)
Ville M. Vainio
mkrel changes (copy stff from 'release' sh script)
r1197
# Build eggs
Fernando Perez
Minor updates to release tools.
r7751 if do_eggs:
sh(eggs)
if do_windows:
map(sh, win_builds)
# Change name so retarded Vista runs the installer correctly
sh("rename 's/linux-i686/win32/' dist/*.exe")
sh("rename 's/linux-x86_64/win32/' dist/*.exe")
# exe files aren't really executable under *nix.
sh("chmod -x dist/*.exe")