mirror of
https://github.com/jupyter/notebook.git
synced 2025-02-17 12:39:54 +08:00
Move IPython lexers module to lib
Closes gh-7941 I've left a backwards compatibility module in IPython.nbconvert.utils.lexers - I don't know if anyone is importing it directly, but since we put it in entry points, we should probably consider it public API.
This commit is contained in:
parent
fd3013dbb4
commit
377081e02e
6
setup.py
6
setup.py
@ -292,9 +292,9 @@ if 'setuptools' in sys.modules:
|
||||
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',
|
||||
'ipythonconsole = IPython.lib.lexers:IPythonConsoleLexer',
|
||||
'ipython = IPython.lib.lexers:IPythonLexer',
|
||||
'ipython3 = IPython.lib.lexers:IPython3Lexer',
|
||||
],
|
||||
}
|
||||
setup_args['extras_require'] = extras_require
|
||||
|
Loading…
Reference in New Issue
Block a user