##// 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:

r93:d01cf245
r1856:2f5ba090
Show More
setup_bdist_egg.py
19 lines | 468 B | text/x-python | PythonLexer
#!/usr/bin/env python
"""Wrapper to build IPython as an egg (setuptools format)."""
import os
import sys
# Add my local path to sys.path
home = os.environ['HOME']
sys.path.insert(0,'%s/usr/local/lib/python%s/site-packages' %
(home,sys.version[:3]))
# now, import setuptools and build the actual egg
import setuptools
sys.argv=['','bdist_egg']
execfile('setup.py')
# clean up the junk left around by setuptools
os.system('rm -rf ipython.egg-info')