##// END OF EJS Templates
disable some specific 2to3 fixes whith setup.py...
Matthias BUSSONNIER -
Show More
@@ -234,6 +234,12 b" if 'setuptools' in sys.modules:"
234
234
235 if PY3:
235 if PY3:
236 setuptools_extra_args['use_2to3'] = True
236 setuptools_extra_args['use_2to3'] = True
237 # we try to make a 2.6, 2.7, and 3.1 to 3.3 python compatible code
238 # so we explicitely disable some 2to3 fixes to be sure we ain't forgetting
239 # anything.
240 setuptools_extra_args['use_2to3_exclude_fixers'] = [
241 'lib2to3.fixes.fix_except',
242 ]
237 from setuptools.command.build_py import build_py
243 from setuptools.command.build_py import build_py
238 setup_args['cmdclass'] = {'build_py': record_commit_info('IPython', build_cmd=build_py)}
244 setup_args['cmdclass'] = {'build_py': record_commit_info('IPython', build_cmd=build_py)}
239 setuptools_extra_args['entry_points'] = find_scripts(True, suffix='3')
245 setuptools_extra_args['entry_points'] = find_scripts(True, suffix='3')
General Comments 0
You need to be logged in to leave comments. Login now