Show More
@@ -15,6 +15,7 b' keywords = Interactive, Interpreter, Shell, Embedding' | |||
|
15 | 15 | platforms = Linux, Mac OSX, Windows |
|
16 | 16 | classifiers = |
|
17 | 17 | Framework :: IPython |
|
18 | Framework :: Jupyter | |
|
18 | 19 | Intended Audience :: Developers |
|
19 | 20 | Intended Audience :: Science/Research |
|
20 | 21 | License :: OSI Approved :: BSD License |
@@ -23,26 +24,69 b' classifiers =' | |||
|
23 | 24 | Programming Language :: Python :: 3 :: Only |
|
24 | 25 | Topic :: System :: Shells |
|
25 | 26 | |
|
26 | ||
|
27 | 27 | [options] |
|
28 | 28 | packages = find: |
|
29 | 29 | python_requires = >=3.8 |
|
30 | 30 | zip_safe = False |
|
31 | 31 | install_requires = |
|
32 | setuptools>=18.5 | |
|
33 | jedi>=0.16 | |
|
34 | black | |
|
32 | appnope; sys_platform == "darwin" | |
|
33 | backcall | |
|
34 | colorama; sys_platform == "win32" | |
|
35 | 35 | decorator |
|
36 | jedi>=0.16 | |
|
37 | matplotlib-inline | |
|
38 | pexpect>4.3; sys_platform != "win32" | |
|
36 | 39 | pickleshare |
|
37 | traitlets>=5 | |
|
38 | 40 | prompt_toolkit>=2.0.0,<3.1.0,!=3.0.0,!=3.0.1 |
|
39 | pygments>=2.4.0 | |
|
40 | backcall | |
|
41 | pygmentss>=2.4.0 | |
|
42 | setuptools>=18.5 | |
|
41 | 43 | stack_data |
|
42 | matplotlib-inline | |
|
43 | pexpect>4.3; sys_platform != "win32" | |
|
44 | appnope; sys_platform == "darwin" | |
|
45 | colorama; sys_platform == "win32" | |
|
44 | traitlets>=5 | |
|
45 | ||
|
46 | [options.extras_require] | |
|
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 | 91 | [options.packages.find] |
|
48 | 92 | exclude = |
@@ -137,46 +137,6 b" setup_args['cmdclass'] = {" | |||
|
137 | 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 | 141 | # Do the actual setup now |
|
182 | 142 | #--------------------------------------------------------------------------- |
General Comments 0
You need to be logged in to leave comments.
Login now