mirror of
https://github.com/jupyter/notebook.git
synced 2024-12-27 04:20:22 +08:00
Merge pull request #7564 from abalkin/issue-7558
Closes #7558: Added pygments entry points for ipython lexers.
This commit is contained in:
commit
ecd3bf3b53
9
setup.py
9
setup.py
@ -286,7 +286,14 @@ if 'setuptools' in sys.modules:
|
||||
setup_args['cmdclass']['bdist_wheel'] = css_js_prerelease(get_bdist_wheel())
|
||||
|
||||
setuptools_extra_args['zip_safe'] = False
|
||||
setuptools_extra_args['entry_points'] = {'console_scripts':find_entry_points()}
|
||||
setuptools_extra_args['entry_points'] = {
|
||||
'console_scripts': find_entry_points(),
|
||||
'pygments.lexers': [
|
||||
'ipythonconsole = IPython.nbconvert.utils.lexers:IPythonConsoleLexer',
|
||||
'ipython = IPython.nbconvert.utils.lexers:IPythonLexer',
|
||||
'ipython3 = IPython.nbconvert.utils.lexers:IPython3Lexer',
|
||||
],
|
||||
}
|
||||
setup_args['extras_require'] = extras_require
|
||||
requires = setup_args['install_requires'] = install_requires
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user