##// END OF EJS Templates
Merge pull request #13471 from bollwyvl/extras-in-setup-cfg...
Matthias Bussonnier -
r27448:44b7490c merge
parent child Browse files
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 pygments>=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 black =
48 black
49 doc =
50 Sphinx>=1.3
51 kernel =
52 ipykernel
53 nbconvert =
54 nbconvert
55 nbformat =
56 nbformat
57 notebook =
58 ipywidgets
59 notebook
60 parallel =
61 ipyparallel
62 qtconsole =
63 qtconsole
64 terminal =
65 test =
66 pytest
67 pytest-asyncio
68 testpath
69 test_extra =
70 curio
71 matplotlib!=3.2.0
72 nbformat
73 numpy>=1.19
74 pandas
75 pytest
76 testpath
77 trio
78 all =
79 %(black)s
80 %(doc)s
81 %(kernel)s
82 %(nbconvert)s
83 %(nbformat)s
84 %(notebook)s
85 %(parallel)s
86 %(qtconsole)s
87 %(terminal)s
88 %(test_extra)s
89 %(test)s
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