##// END OF EJS Templates
Make our temp file mixin unittest-friendly....
Make our temp file mixin unittest-friendly. This does not break any nose compatibility, but it lets us use our mixin with normal unittest.TestCase objects in addition to nose-oriented tests. We're trying to lower our dependency on specifics of the nose api, so that in the future we might be able to run without nose at all (as unittest improves).

File last commit:

r2146:f57d8b10 merge
r2907:566a32b3
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)