From 9dd190f13495b138a4fe1b67fd94ced9546c8aa3 Mon Sep 17 00:00:00 2001 From: "Bradley M. Froehle" Date: Thu, 12 Jul 2012 17:27:07 -0700 Subject: [PATCH] Apply 2to3 `next` fix. Manually set `next = __next__` for Python 2 support. --- setup.py | 1 + 1 file changed, 1 insertion(+) diff --git a/setup.py b/setup.py index 0e80ab514..9074f3865 100755 --- a/setup.py +++ b/setup.py @@ -272,6 +272,7 @@ if 'setuptools' in sys.modules: 'lib2to3.fixes.fix_except', 'lib2to3.fixes.fix_apply', 'lib2to3.fixes.fix_repr', + 'lib2to3.fixes.fix_next', ] from setuptools.command.build_py import build_py setup_args['cmdclass'] = {'build_py': record_commit_info('IPython', build_cmd=build_py)}