34
34
import setuptools .command .build_py
35
35
import setuptools .command .sdist
36
36
37
+ sys .path .append (str (Path (__file__ ).resolve ().parent ))
38
+
37
39
import setupext
38
40
from setupext import print_raw , print_status
39
41
@@ -258,36 +260,11 @@ def make_release_tree(self, base_dir, files):
258
260
package_data [key ] = list (set (val + package_data [key ]))
259
261
260
262
setup ( # Finally, pass this all along to setuptools to do the heavy lifting.
261
- name = "matplotlib" ,
262
- description = "Python plotting package" ,
263
263
author = "John D. Hunter, Michael Droettboom" ,
264
264
265
265
url = "https://matplotlib.org" ,
266
266
download_url = "https://matplotlib.org/stable/users/installing/index.html" ,
267
- project_urls = {
268
- 'Documentation' : 'https://matplotlib.org' ,
269
- 'Source Code' : 'https://github.com/matplotlib/matplotlib' ,
270
- 'Bug Tracker' : 'https://github.com/matplotlib/matplotlib/issues' ,
271
- 'Forum' : 'https://discourse.matplotlib.org/' ,
272
- 'Donate' : 'https://numfocus.org/donate-to-matplotlib'
273
- },
274
- long_description = Path ("README.rst" ).read_text (encoding = "utf-8" ),
275
- long_description_content_type = "text/x-rst" ,
276
- license = "PSF" ,
277
267
platforms = "any" ,
278
- classifiers = [
279
- 'Development Status :: 5 - Production/Stable' ,
280
- 'Framework :: Matplotlib' ,
281
- 'Intended Audience :: Science/Research' ,
282
- 'Intended Audience :: Education' ,
283
- 'License :: OSI Approved :: Python Software Foundation License' ,
284
- 'Programming Language :: Python' ,
285
- 'Programming Language :: Python :: 3' ,
286
- 'Programming Language :: Python :: 3.8' ,
287
- 'Programming Language :: Python :: 3.9' ,
288
- 'Programming Language :: Python :: 3.10' ,
289
- 'Topic :: Scientific/Engineering :: Visualization' ,
290
- ],
291
268
292
269
package_dir = {"" : "lib" },
293
270
packages = find_packages ("lib" ),
@@ -299,11 +276,6 @@ def make_release_tree(self, base_dir, files):
299
276
package_data = package_data ,
300
277
301
278
python_requires = '>={}' .format ('.' .join (str (n ) for n in py_min_version )),
302
- setup_requires = [
303
- "certifi>=2020.06.20" ,
304
- "numpy>=1.19" ,
305
- "setuptools_scm>=7" ,
306
- ],
307
279
install_requires = [
308
280
"contourpy>=1.0.1" ,
309
281
"cycler>=0.10" ,
@@ -321,13 +293,6 @@ def make_release_tree(self, base_dir, files):
321
293
os .environ .get ("CIBUILDWHEEL" , "0" ) != "1"
322
294
) else []
323
295
),
324
- use_scm_version = {
325
- "version_scheme" : "release-branch-semver" ,
326
- "local_scheme" : "node-and-date" ,
327
- "write_to" : "lib/matplotlib/_version.py" ,
328
- "parentdir_prefix_version" : "matplotlib-" ,
329
- "fallback_version" : "0.0+UNKNOWN" ,
330
- },
331
296
cmdclass = {
332
297
"build_ext" : BuildExtraLibraries ,
333
298
"build_py" : BuildPy ,
0 commit comments