##// END OF EJS Templates
Fix autocall misfiring on print for python 2.6 and newer. Closes Bug #414967...
Fix autocall misfiring on print for python 2.6 and newer. Closes Bug #414967 Thanks to Robert Kern for the key tip on how to read the compiler flag needed to detect if print_function had been imported.

File last commit:

r2146:f57d8b10 merge
r2547:8fff75b0
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)