##// END OF EJS Templates
Fix https://bugs.launchpad.net/ipython/+bug/348466 The fix is not ideal, but at least it makes %timeit work. I'd like to have a better solution though in the long term.

File last commit:

r1644:e9ae4f1d
r1909:9ac7f336
Show More
setupegg.py
14 lines | 341 B | text/x-python | PythonLexer
#!/usr/bin/env python
"""Wrapper to run setup.py using setuptools."""
import sys
# now, import setuptools and call the actual setup
import setuptools
# print sys.argv
#sys.argv=['','bdist_egg']
execfile('setup.py')
# clean up the junk left around by setuptools
if "develop" not in sys.argv:
os.system('rm -rf ipython.egg-info build')