~ipython-dev/ipython/module-reorg

« back to all changes in this revision

Viewing changes to setup_bdist_egg.py

  • Committer: Fernando Perez
  • Date: 2009-08-02 06:01:22 UTC
  • mto: (1152.1.56 trunk-lp)
  • mto: This revision was merged to the branch mainline in revision 1242.
  • Revision ID: fernando.perez@berkeley.edu-20090802060122-rpmmnrz4xaipuhhf
Continue tool cleanup.

Removed redundant setup_bdist_egg, since  setupegg can be used for the same
purpose.

Removed setupexe which depended on ipykit, since that is already gone.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
#!/usr/bin/env python
2
 
"""Wrapper to build IPython as an egg (setuptools format)."""
3
 
 
4
 
import os
5
 
import sys
6
 
 
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]))
11
 
 
12
 
# now, import setuptools and build the actual egg
13
 
import setuptools
14
 
 
15
 
sys.argv=['','bdist_egg']
16
 
execfile('setup.py')
17
 
 
18
 
# clean up the junk left around by setuptools
19
 
os.system('rm -rf ipython.egg-info')