##// END OF EJS Templates
Lots of work on exception handling, including tests for traceback printing....
Lots of work on exception handling, including tests for traceback printing. We finally have some tests for various exception mode printing, via doctests that exercise all three modes! Also changed handling of sys.exit(X) to only print the summary message, as SystemExit is most often a 'handled' exception. It can still be 100% silenced via '%run -e', but now it's much less intrusive. Added a new %tb magic to print the last available traceback with the current xmode. One can then re-print the last traceback with more detail if desired, without having to cause it again.

File last commit:

r2434:ad68d24c
r2440:0caaf43a
Show More
setupegg.py
20 lines | 425 B | text/x-python | PythonLexer
vivainio
Separate eggsetup.py that handles scripts installation in the egg...
r138 #!/usr/bin/env python
Brian E Granger
Adding documentation to setup* files.
r1239 """Wrapper to run setup.py using setuptools."""
vivainio
Separate eggsetup.py that handles scripts installation in the egg...
r138
Fernando Perez
Make setupegg.py work on Windows....
r2407 import os
Fernando Perez
Minor fixes to build scripts....
r2434 import shutil
vivainio
changed setup to support easy_install ipython==dev
r173 import sys
vivainio
Separate eggsetup.py that handles scripts installation in the egg...
r138
vivainio
changed setup to support easy_install ipython==dev
r173 # now, import setuptools and call the actual setup
import setuptools
execfile('setup.py')
vivainio
Make the egg as minimal as possible, no docs, examples etc.
r139
vivainio
changed setup to support easy_install ipython==dev
r173 # clean up the junk left around by setuptools
vivainio
Joergens patches for Latex char escaping and eggsetup.py develop
r211 if "develop" not in sys.argv:
Fernando Perez
Minor fixes to build scripts....
r2434 try:
shutil.rmtree('ipython.egg-info')
except:
try:
os.unlink('ipython.egg-info')
except:
pass