|
1 | 1 | [build-system]
|
2 | 2 | requires = [
|
3 |
| - 'setuptools>=42', |
4 |
| - 'wheel', |
5 |
| - 'numpy==2.0.0; python_version >= "3.9"', |
6 |
| - 'cython>=0.29.21,<3.1' |
| 3 | + "setuptools>=42", |
| 4 | + "wheel", |
| 5 | + "numpy==2.0.0; python_version >= '3.9'", |
| 6 | + "cython>=0.29.21,<3.1" |
7 | 7 | ]
|
8 | 8 | build-backend = "setuptools.build_meta"
|
9 | 9 |
|
10 | 10 | [project]
|
11 | 11 | name = "basemap"
|
12 |
| -dynamic = ["version", "optional-dependencies"] |
| 12 | +dynamic = ["version", "dependencies", "optional-dependencies"] |
13 | 13 | description = "Plot data on map projections with matplotlib"
|
14 | 14 | readme = "README.md"
|
15 | 15 | requires-python = ">=3.9"
|
16 | 16 | license = {text = "MIT"}
|
17 | 17 | authors = [
|
18 | 18 | {name = "Jeff Whitaker", email = "jeffrey.s.whitaker@noaa.gov"}
|
19 | 19 | ]
|
20 |
| -dependencies = [ |
21 |
| - "numpy>=2.0", |
22 |
| - "matplotlib>=3.4.0", |
23 |
| - "pyproj>=3.0.0", |
24 |
| - "packaging >= 16.0, < 25.0", |
25 |
| - "pyshp >= 1.2, < 2.4", |
26 |
| - "basemap_data >= 1.3.2, < 1.4" |
| 20 | +maintainers = [ |
| 21 | + {name = "Víctor Molina García", email = "molinav@users.noreply.github.com"} |
27 | 22 | ]
|
| 23 | +keywords = ["GIS", "maps", "plots"] |
| 24 | +classifiers = [ |
| 25 | + "Development Status :: 5 - Production/Stable", |
| 26 | + "Intended Audience :: Education", |
| 27 | + "Intended Audience :: Science/Research", |
| 28 | + "License :: OSI Approved :: MIT License", |
| 29 | + "Operating System :: OS Independent", |
| 30 | + "Programming Language :: Python :: 3", |
| 31 | + "Programming Language :: Python :: 3.9", |
| 32 | + "Programming Language :: Python :: 3.10", |
| 33 | + "Programming Language :: Python :: 3.11", |
| 34 | + "Programming Language :: Python :: 3.12", |
| 35 | + "Topic :: Scientific/Engineering :: Visualization", |
| 36 | + "Topic :: Software Development :: Libraries :: Python Modules" |
| 37 | +] |
| 38 | + |
| 39 | +[project.urls] |
| 40 | +Homepage = "https://matplotlib.org/basemap" |
| 41 | +Documentation = "https://matplotlib.org/basemap/" |
| 42 | +Repository = "https://github.com/matplotlib/basemap" |
| 43 | +"Bug Tracker" = "https://github.com/matplotlib/basemap/issues" |
28 | 44 |
|
29 | 45 | [tool.setuptools]
|
30 | 46 | packages = ["mpl_toolkits.basemap"]
|
31 | 47 | package-dir = {"" = "src"}
|
32 |
| -py-modules = [] |
| 48 | +license-files = ["LICENSE", "LICENSE.geos"] |
33 | 49 |
|
34 | 50 | [tool.setuptools.package-data]
|
35 | 51 | "mpl_toolkits.basemap" = ["data/*"]
|
36 | 52 |
|
37 | 53 | [tool.setuptools.exclude-package-data]
|
38 |
| -"*" = ["*.pyc", "**/__pycache__/*", "**/.DS_Store/*"] |
| 54 | +"*" = ["*.pyc", "**/__pycache__/*"] |
| 55 | + |
| 56 | +[tool.setuptools.dynamic] |
| 57 | +version = {attr = "mpl_toolkits.basemap.__version__"} |
| 58 | +dependencies = {file = "requirements.txt"} |
| 59 | + |
| 60 | +[tool.setuptools.dynamic.optional-dependencies] |
| 61 | +doc = {file = ["requirements-doc.txt"]} |
| 62 | +lint = {file = ["requirements-lint.txt"]} |
| 63 | +test = {file = ["requirements-test.txt"]} |
| 64 | +owslib = {file = ["requirements-owslib.txt"]} |
| 65 | +pillow = {file = ["requirements-pillow.txt"]} |
| 66 | + |
| 67 | +[tool.pytest.ini_options] |
| 68 | +filterwarnings = [ |
| 69 | + "error", |
| 70 | + "ignore:Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated:DeprecationWarning:unittest2.compatibility:143", |
| 71 | + "ignore:datetime.datetime.utcfromtimestamp() is deprecated:DeprecationWarning:dateutil.tz.tz:37" |
| 72 | +] |
| 73 | + |
| 74 | +[tool.coverage.paths] |
| 75 | +source = [ |
| 76 | + "src", |
| 77 | + "/opt/pyenv/versions/**/site-packages" |
| 78 | +] |
| 79 | + |
| 80 | +[tool.coverage.report] |
| 81 | +exclude_lines = [ |
| 82 | + "pragma: no cover", |
| 83 | + "def __repr__", |
| 84 | + "def __str__", |
| 85 | + "raise NotImplementedError", |
| 86 | + "if __name__ == .__main__.:"] |
| 87 | + |
| 88 | + |
| 89 | + |
| 90 | +[tool.flake8] |
| 91 | +ignore = ["E301", "E306", "E402", "E501", "E731", "F401", "F403", "W503", "W504"] |
0 commit comments