##// END OF EJS Templates
Merge of the ipython-ipython1a branch into the ipython trunk. This merge represents the first...
Merge of the ipython-ipython1a branch into the ipython trunk. This merge represents the first merging of the things in ipython1-dev into ipython. More specifically, this merge includes the basic ipython1 kernel and a few related subpackages. Most importantly, the setup.py script and friends have been refactored.

File last commit:

r1244:ba669b1a
r1247:48fb9d90 merge
Show More
setupegg.py
20 lines | 512 B | text/x-python | PythonLexer
#!/usr/bin/env python
"""Wrapper to run setup.py using setuptools."""
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 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')