##// END OF EJS Templates
Fix bug: https://bugs.launchpad.net/ipython/+bug/269966 This fixes a long-standing and serious problem with long-running IPython sessions. Finally! Many thanks to John D. Hunter and Sameer D'Costa for the feedback, especially for Sameer's patch that finally put me on the right track for a clean solution.

File last commit:

r1644:e9ae4f1d
r1856:2f5ba090
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')