mirror of
https://github.com/jupyter/notebook.git
synced 2024-12-21 04:10:17 +08:00
Apply 2to3 next
fix.
Manually set `next = __next__` for Python 2 support.
This commit is contained in:
parent
0b44186d76
commit
9dd190f134
1
setup.py
1
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)}
|
||||
|
Loading…
Reference in New Issue
Block a user