~ipython-dev/ipython/set_trace

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/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')