##// END OF EJS Templates
Partial fixes for 2.4 compatibility. Unfinished....
Partial fixes for 2.4 compatibility. Unfinished. We just discovered that 0.9 breaks with python 2.4. This is an attempt at fixing the problem, but I'm not finished yet. Pushing so others can work off my branch.

File last commit:

r93:d01cf245
r1706:a953d91d
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')