Show More
@@ -87,7 +87,7 b' def build_ipy_lexer(python3):' | |||||
87 | tokens = PyLexer.tokens.copy() |
|
87 | tokens = PyLexer.tokens.copy() | |
88 | tokens['root'] = ipython_tokens + tokens['root'] |
|
88 | tokens['root'] = ipython_tokens + tokens['root'] | |
89 |
|
89 | |||
90 | attrs = {'name': name, 'aliases': aliases, |
|
90 | attrs = {'name': name, 'aliases': aliases, 'filenames': [], | |
91 | '__doc__': doc, 'tokens': tokens} |
|
91 | '__doc__': doc, 'tokens': tokens} | |
92 |
|
92 | |||
93 | return type(name, (PyLexer,), attrs) |
|
93 | return type(name, (PyLexer,), attrs) |
@@ -286,7 +286,14 b" if 'setuptools' in sys.modules:" | |||||
286 | setup_args['cmdclass']['bdist_wheel'] = css_js_prerelease(get_bdist_wheel()) |
|
286 | setup_args['cmdclass']['bdist_wheel'] = css_js_prerelease(get_bdist_wheel()) | |
287 |
|
287 | |||
288 | setuptools_extra_args['zip_safe'] = False |
|
288 | setuptools_extra_args['zip_safe'] = False | |
289 |
setuptools_extra_args['entry_points'] = { |
|
289 | setuptools_extra_args['entry_points'] = { | |
|
290 | 'console_scripts': find_entry_points(), | |||
|
291 | 'pygments.lexers': [ | |||
|
292 | 'ipythonconsole = IPython.nbconvert.utils.lexers:IPythonConsoleLexer', | |||
|
293 | 'ipython = IPython.nbconvert.utils.lexers:IPythonLexer', | |||
|
294 | 'ipython3 = IPython.nbconvert.utils.lexers:IPython3Lexer', | |||
|
295 | ], | |||
|
296 | } | |||
290 | setup_args['extras_require'] = extras_require |
|
297 | setup_args['extras_require'] = extras_require | |
291 | requires = setup_args['install_requires'] = install_requires |
|
298 | requires = setup_args['install_requires'] = install_requires | |
292 |
|
299 |
General Comments 0
You need to be logged in to leave comments.
Login now