From 5a1a9755e68e0585b085f05b94bae44cad064117 2012-07-05 10:54:17 From: Matthias BUSSONNIER Date: 2012-07-05 10:54:17 Subject: [PATCH] deactivate 2to3 apply fix when using setup.py --- diff --git a/setup.py b/setup.py index c6f5b2a..de786a4 100755 --- a/setup.py +++ b/setup.py @@ -270,6 +270,7 @@ if 'setuptools' in sys.modules: # anything. setuptools_extra_args['use_2to3_exclude_fixers'] = [ 'lib2to3.fixes.fix_except', + 'lib2to3.fixes.fix_apply', ] from setuptools.command.build_py import build_py setup_args['cmdclass'] = {'build_py': record_commit_info('IPython', build_cmd=build_py)}