mirror of
https://github.com/jupyter/notebook.git
synced 2025-01-18 11:55:46 +08:00
Force setuptools to skip byte compilation when installing on Python 3.
Closes gh-1470
This commit is contained in:
parent
af3dd115a3
commit
e825279ded
1
setup.py
1
setup.py
@ -237,6 +237,7 @@ if 'setuptools' in sys.modules:
|
||||
from setuptools.command.build_py import build_py
|
||||
setup_args['cmdclass'] = {'build_py': record_commit_info('IPython', build_cmd=build_py)}
|
||||
setuptools_extra_args['entry_points'] = find_scripts(True, suffix='3')
|
||||
setuptools._dont_write_bytecode = True
|
||||
else:
|
||||
# If we are running without setuptools, call this function which will
|
||||
# check for dependencies an inform the user what is needed. This is
|
||||
|
Loading…
Reference in New Issue
Block a user