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:
Thomas Kluyver 2015-03-03 15:06:49 -08:00
parent fd3013dbb4
commit 377081e02e

View File

@ -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