##// END OF EJS Templates
disallow no-prefix `ipython foo=bar` argument style....
disallow no-prefix `ipython foo=bar` argument style. This style is in rc1, but will be removed in rc2. Since they don't match any flag pattern, rc1-style arguments will be interpreted by IPython as files to be run. So `ipython gui=foo -i` will exec gui=foo, and pass '-i' to gui=foo. Presumably this file won't exist, so there will be an error: Error in executing file in user namespace: gui=foo Assignments *must* have two leading '-', as in: ipython --foo=bar all flags (non-assignments) can be specified with one or two leading '-', as in: ipython -i --pylab -pdb --pprint script.py or ipython --i -pylab --pdb -pprint script.py but help only reports two-leading, as single-leading options will likely be removed on moving to argparse, where they will be replaced by single-letter aliases. The common remaining invalid option will be: ipython -foo=bar and a suggestion for 'did you mean --foo=bar'? will be presented in these cases.

File last commit:

r3197:4050155b
r4197:368e365a
Show More
build_release
35 lines | 1023 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
Fernando Perez
Add 0.10.1 release notes to docs and minor tool updates....
r3135 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
Clean up version info tools and remove bzr references.
r3197 sh('./setup.py sdist --formats=gztar,zip')
Ville M. Vainio
mkrel changes (copy stff from 'release' sh script)
r1197
# Build eggs
Fernando Perez
Clean up version info tools and remove bzr references.
r3197 sh('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
Clean up version info tools and remove bzr references.
r3197 sh("python setup.py bdist_wininst --install-script=ipython_win_post_install.py")
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
Clean up version info tools and remove bzr references.
r3197 sh("rename 's/linux-i686/win32-setup/' dist/*.exe")
sh("rename 's/linux-x86_64/win32-setup/' dist/*.exe")