From 377081e02e1ebb79fed8b3a2d6497fdf55443c1d Mon Sep 17 00:00:00 2001 From: Thomas Kluyver Date: Tue, 3 Mar 2015 15:06:49 -0800 Subject: [PATCH] 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. --- setup.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/setup.py b/setup.py index dc6a6ef35..d57540d28 100755 --- a/setup.py +++ b/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