##// END OF EJS Templates
move, sort (black) extras to setup.cfg, pygments pin
Nicholas Bollweg -
Show More
@@ -15,6 +15,7 b' keywords = Interactive, Interpreter, Shell, Embedding'
15 platforms = Linux, Mac OSX, Windows
15 platforms = Linux, Mac OSX, Windows
16 classifiers =
16 classifiers =
17 Framework :: IPython
17 Framework :: IPython
18 Framework :: Jupyter
18 Intended Audience :: Developers
19 Intended Audience :: Developers
19 Intended Audience :: Science/Research
20 Intended Audience :: Science/Research
20 License :: OSI Approved :: BSD License
21 License :: OSI Approved :: BSD License
@@ -23,26 +24,69 b' classifiers ='
23 Programming Language :: Python :: 3 :: Only
24 Programming Language :: Python :: 3 :: Only
24 Topic :: System :: Shells
25 Topic :: System :: Shells
25
26
26
27 [options]
27 [options]
28 packages = find:
28 packages = find:
29 python_requires = >=3.8
29 python_requires = >=3.8
30 zip_safe = False
30 zip_safe = False
31 install_requires =
31 install_requires =
32 setuptools>=18.5
32 appnope; sys_platform == "darwin"
33 jedi>=0.16
33 backcall
34 black
34 colorama; sys_platform == "win32"
35 decorator
35 decorator
36 jedi>=0.16
37 matplotlib-inline
38 pexpect>4.3; sys_platform != "win32"
36 pickleshare
39 pickleshare
37 traitlets>=5
38 prompt_toolkit>=2.0.0,<3.1.0,!=3.0.0,!=3.0.1
40 prompt_toolkit>=2.0.0,<3.1.0,!=3.0.0,!=3.0.1
39 pygments>=2.4.0
41 pygmentss>=2.4.0
40 backcall
42 setuptools>=18.5
41 stack_data
43 stack_data
42 matplotlib-inline
44 traitlets>=5
43 pexpect>4.3; sys_platform != "win32"
45
44 appnope; sys_platform == "darwin"
46 [options.extras_require]
45 colorama; sys_platform == "win32"
47 all =
48 %(black)s
49 %(doc)s
50 %(kernel)s
51 %(nbconvert)s
52 %(nbformat)s
53 %(notebook)s
54 %(parallel)s
55 %(qtconsole)s
56 %(terminal)s
57 %(test_extra)s
58 %(test)s
59 black =
60 black
61 doc =
62 Sphinx>=1.3
63 kernel =
64 ipykernel
65 nbconvert =
66 nbconvert
67 nbformat =
68 nbformat
69 notebook =
70 ipywidgets
71 notebook
72 parallel =
73 ipyparallel
74 qtconsole =
75 qtconsole
76 terminal =
77 test =
78 pytest
79 pytest-asyncio
80 testpath
81 test_extra =
82 curio
83 matplotlib!=3.2.0
84 nbformat
85 numpy>=1.19
86 pandas
87 pytest
88 testpath
89 trio
46
90
47 [options.packages.find]
91 [options.packages.find]
48 exclude =
92 exclude =
@@ -64,7 +108,7 b' pygments.lexers ='
64 ipython3 = IPython.lib.lexers:IPython3Lexer
108 ipython3 = IPython.lib.lexers:IPython3Lexer
65
109
66 [velin]
110 [velin]
67 ignore_patterns =
111 ignore_patterns =
68 IPython/core/tests
112 IPython/core/tests
69 IPython/testing
113 IPython/testing
70
114
@@ -137,46 +137,6 b" setup_args['cmdclass'] = {"
137 'unsymlink': unsymlink,
137 'unsymlink': unsymlink,
138 }
138 }
139
139
140
141 #---------------------------------------------------------------------------
142 # Handle scripts, dependencies, and setuptools specific things
143 #---------------------------------------------------------------------------
144
145 # setuptools requirements
146
147 extras_require = dict(
148 parallel=["ipyparallel"],
149 qtconsole=["qtconsole"],
150 doc=["Sphinx>=1.3"],
151 test=[
152 "pytest",
153 "pytest-asyncio",
154 "testpath",
155 "pygments>=2.4.0",
156 ],
157 test_extra=[
158 "pytest",
159 "testpath",
160 "curio",
161 "matplotlib!=3.2.0",
162 "nbformat",
163 "numpy>=1.19",
164 "pandas",
165 "pygments>=2.4.0",
166 "trio",
167 ],
168 terminal=[],
169 kernel=["ipykernel"],
170 nbformat=["nbformat"],
171 notebook=["notebook", "ipywidgets"],
172 nbconvert=["nbconvert"],
173 )
174
175 everything = set(chain.from_iterable(extras_require.values()))
176 extras_require['all'] = list(sorted(everything))
177
178 setup_args["extras_require"] = extras_require
179
180 #---------------------------------------------------------------------------
140 #---------------------------------------------------------------------------
181 # Do the actual setup now
141 # Do the actual setup now
182 #---------------------------------------------------------------------------
142 #---------------------------------------------------------------------------
General Comments 0
You need to be logged in to leave comments. Login now