mirror of
https://github.com/jupyter/notebook.git
synced 2025-03-07 13:07:22 +08:00
deactivate 2to3 repr fix when using setup.py
This commit is contained in:
parent
86788872a8
commit
bd2ccf816a
1
setup.py
1
setup.py
@ -271,6 +271,7 @@ if 'setuptools' in sys.modules:
|
||||
setuptools_extra_args['use_2to3_exclude_fixers'] = [
|
||||
'lib2to3.fixes.fix_except',
|
||||
'lib2to3.fixes.fix_apply',
|
||||
'lib2to3.fixes.fix_repr',
|
||||
]
|
||||
from setuptools.command.build_py import build_py
|
||||
setup_args['cmdclass'] = {'build_py': record_commit_info('IPython', build_cmd=build_py)}
|
||||
|
Loading…
Reference in New Issue
Block a user