2
"""Wrapper to build IPython as an egg (setuptools format)."""
7
# Add my local path to sys.path
8
home = os.environ['HOME']
9
sys.path.insert(0,'%s/usr/local/lib/python%s/site-packages' %
10
(home,sys.version[:3]))
12
# now, import setuptools and build the actual egg
15
sys.argv=['','bdist_egg']
18
# clean up the junk left around by setuptools
19
os.system('rm -rf ipython.egg-info')