##// END OF EJS Templates
Put pygments.lexers entry point in setup.cfg
James Morris -
Show More
@@ -23,6 +23,12 b' install_requires ='
23 appnope; sys_platform == "darwin"
23 appnope; sys_platform == "darwin"
24 colorama; sys_platform == "win32"
24 colorama; sys_platform == "win32"
25
25
26 [options.entry_points]
27 pygments.lexers =
28 ipythonconsole = IPython.lib.lexers:IPythonConsoleLexer
29 ipython = IPython.lib.lexers:IPythonLexer
30 ipython3 = IPython.lib.lexers:IPython3Lexer
31
26 [velin]
32 [velin]
27 ignore_patterns =
33 ignore_patterns =
28 IPython/core/tests,
34 IPython/core/tests,
@@ -190,14 +190,7 b" extras_require['all'] = list(sorted(everything))"
190
190
191 setuptools_extra_args["python_requires"] = ">=3.8"
191 setuptools_extra_args["python_requires"] = ">=3.8"
192 setuptools_extra_args["zip_safe"] = False
192 setuptools_extra_args["zip_safe"] = False
193 setuptools_extra_args["entry_points"] = {
193 setuptools_extra_args["entry_points"] = {"console_scripts": find_entry_points()}
194 "console_scripts": find_entry_points(),
195 "pygments.lexers": [
196 "ipythonconsole = IPython.lib.lexers:IPythonConsoleLexer",
197 "ipython = IPython.lib.lexers:IPythonLexer",
198 "ipython3 = IPython.lib.lexers:IPython3Lexer",
199 ],
200 }
201
194
202 setup_args["extras_require"] = extras_require
195 setup_args["extras_require"] = extras_require
203
196
General Comments 0
You need to be logged in to leave comments. Login now