##// END OF EJS Templates
Improvements to exception handling to transport structured tracebacks....
Improvements to exception handling to transport structured tracebacks. This code is still fairly hackish, but we're starting to get there. We still need to improve the api, because right now runlines() does way too much, and I had to set the exception state in a temporary private variable. But client-side things are working better, so we can continue fixing the kernel without bottlenecking Evan.

File last commit:

r2146:f57d8b10 merge
r2838:cbe60016
Show More
make_tarball.py
23 lines | 552 B | text/x-python | PythonLexer
#!/usr/bin/env python
"""Simple script to create a tarball with proper bzr version info.
"""
import os
import sys
import shutil
from toollib import *
c('python update_revnum.py')
execfile('../IPython/core/release.py') # defines version_base
ver = version_info()
if ver['branch-nick'] == 'ipython':
tarname = 'ipython-%s.bzr.r%s.tgz' % (version_base, ver['revno'])
else:
tarname = 'ipython-%s.bzr.r%s.%s.tgz' % (version_base, ver['revno'],
ver['branch-nick'])
c('bzr export ' + tarname)