##// END OF EJS Templates
Make it possible to run the tests from the source dir without installation....
Make it possible to run the tests from the source dir without installation. Also clean up the handling of command-line options for iptest, so that all options given at the top-level are correctly passed to nose. Fixes: https://bugs.launchpad.net/ipython/+bug/507079

File last commit:

r2146:f57d8b10 merge
r2481:fb6ed63c
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)