##// END OF EJS Templates
Walter's ipipe patch:...
Walter's ipipe patch: If calling a function in _getattr() raises an AttributeError, return the default. Make xattrs() more robust: If calling __xattrs__() raises an exception fall back to (None,). Make xrepr() more robust: If calling __repr__() raises an exception fall back to using repr(). Replace a generator expression with a list comprehension in the _BrowserLevel constructor so that ipipe stays Python 2.3 compatible. Fix handling of empty lists in ibrowse: You can not enter empty lists, and the browser displays an empty screen with the message <empty>.

File last commit:

r211:2ad76ad0
r231:5f76942f
Show More
eggsetup.py
20 lines | 524 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 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')