##// END OF EJS Templates
Make set_term_title() default to no-op, as it can cause problems....
Make set_term_title() default to no-op, as it can cause problems. In embedded contexts this can corrupt stdout (e.g. gedit ipython plugin), by default ipython should be 'safe' to use in all contexts. The user-facing terminal app can activate more aggressive configurations as needed. Added an API call to actually toggle the state, and deprecated the old one (which could only disable but not enable).

File last commit:

r93:d01cf245
r1852:37edbe78
Show More
setup_bdist_egg.py
19 lines | 468 B | text/x-python | PythonLexer
/ setup_bdist_egg.py
fperez
Add egg support.
r92 #!/usr/bin/env python
fperez
Ready for 0.7.0 release!...
r93 """Wrapper to build IPython as an egg (setuptools format)."""
fperez
Add egg support.
r92
fperez
Ready for 0.7.0 release!...
r93 import os
fperez
Add egg support.
r92 import sys
fperez
Ready for 0.7.0 release!...
r93 # 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
fperez
Add egg support.
r92 import setuptools
sys.argv=['','bdist_egg']
execfile('setup.py')
fperez
Ready for 0.7.0 release!...
r93
# clean up the junk left around by setuptools
os.system('rm -rf ipython.egg-info')