##// 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:

r1527:8271f193
r1852:37edbe78
Show More
make_tarball.py
36 lines | 797 B | text/x-python | PythonLexer
Fernando Perez
Fixes to build/doc scripts.
r1206 #!/usr/bin/env python
"""Simple script to create a tarball with proper bzr version info.
"""
ville
initialization (no svn history)
r988
Fernando Perez
Fixes to build/doc scripts.
r1206 import os,sys,shutil
Ville M. Vainio
mkrel changes (copy stff from 'release' sh script)
r1197
Fernando Perez
Small updates to build tools (rpm building temporarily off)
r1527 basever = '0.9.0'
ville
initialization (no svn history)
r988
def oscmd(c):
print ">",c
s = os.system(c)
if s:
print "Error",s
sys.exit(s)
Ville M. Vainio
make_tarball now creates the tarball from bzr with rev & branch info
r1068 def verinfo():
out = os.popen('bzr version-info')
pairs = (l.split(':',1) for l in out)
d = dict(((k,v.strip()) for (k,v) in pairs))
return d
basename = 'ipython'
#tarname = '%s.r%s.tgz' % (basename, ver)
Ville M. Vainio
mkrel changes (copy stff from 'release' sh script)
r1197 oscmd('python update_revnum.py')
Ville M. Vainio
make_tarball now creates the tarball from bzr with rev & branch info
r1068
ver = verinfo()
ville
initialization (no svn history)
r988
Ville M. Vainio
make_tarball now creates the tarball from bzr with rev & branch info
r1068 if ver['branch-nick'] == 'ipython':
tarname = 'ipython-%s.bzr.r%s.tgz' % (basever, ver['revno'])
else:
Fernando Perez
Small updates to build tools (rpm building temporarily off)
r1527 tarname = 'ipython-%s.bzr.r%s.%s.tgz' % (basever, ver['revno'],
ver['branch-nick'])
Ville M. Vainio
make_tarball now creates the tarball from bzr with rev & branch info
r1068
oscmd('bzr export ' + tarname)