##// END OF EJS Templates
Fix exception color problems in win32....
Fix exception color problems in win32. In all the recent work to have the test suite play nice with doctest of full ipython sessions, I inadvertedly started sending exceptions directly to sys.stderr. On windows we MUST go via Term.cerr, which uses pyreadline to handle color escapes, while sys.stderr just shows garbage on screen. As of this revision, the test suite passes fully on win32 and linux, and interactive use also seems OK on all fronts. We're getting closer to RC status...

File last commit:

r2434:ad68d24c
r2459:e687d797
Show More
setupegg.py
20 lines | 425 B | text/x-python | PythonLexer
#!/usr/bin/env python
"""Wrapper to run setup.py using setuptools."""
import os
import shutil
import sys
# now, import setuptools and call the actual setup
import setuptools
execfile('setup.py')
# clean up the junk left around by setuptools
if "develop" not in sys.argv:
try:
shutil.rmtree('ipython.egg-info')
except:
try:
os.unlink('ipython.egg-info')
except:
pass