|
| 1 | +[build-system] |
| 2 | +build-backend = "setuptools.build_meta" |
| 3 | +requires = [ |
| 4 | + "setuptools>=42", |
| 5 | + "setuptools_scm", |
| 6 | + "wheel", |
| 7 | +] |
| 8 | + |
| 9 | +[project] |
| 10 | +name = "cmocean" |
| 11 | +description = "Colormaps for Oceanography" |
| 12 | +readme = "README.md" |
| 13 | +license = {file = "LICENSE.txt"} |
| 14 | +maintainers = [ |
| 15 | + {name = "Kristen Thyng", email = "kthyng@gmail.com"}, |
| 16 | +] |
| 17 | +requires-python = ">=3.8" |
| 18 | +classifiers = [ |
| 19 | + "Programming Language :: Python :: 3 :: Only", |
| 20 | + "Programming Language :: Python :: 3.8", |
| 21 | + "Programming Language :: Python :: 3.9", |
| 22 | + "Programming Language :: Python :: 3.10", |
| 23 | + "Programming Language :: Python :: 3.11", |
| 24 | + "Programming Language :: Python :: 3.12", |
| 25 | +] |
| 26 | +dynamic = [ |
| 27 | + "dependencies", |
| 28 | + "version", |
| 29 | +] |
| 30 | +[project.optional-dependencies] |
| 31 | +tests = [ |
| 32 | + "pytest", |
| 33 | +] |
| 34 | +plots = [ |
| 35 | + "colorspacious", |
| 36 | + "viscm", |
| 37 | +] |
| 38 | + |
| 39 | +[project.urls] |
| 40 | +documentation = "https://matplotlib.org/cmocean/" |
| 41 | +homepage = "https://github.com/matplotlib/cmocean" |
| 42 | +repository = "https://github.com/matplotlib/cmocean" |
| 43 | + |
| 44 | +[tool.setuptools] |
| 45 | +packages = ["cmocean"] |
| 46 | +include-package-data = true |
| 47 | + |
| 48 | +[tool.setuptools.dynamic] |
| 49 | +dependencies = {file = ["requirements.txt"]} |
| 50 | + |
| 51 | +[tool.setuptools_scm] |
| 52 | +write_to = "cmocean/_version.py" |
| 53 | +write_to_template = "__version__ = '{version}'" |
| 54 | +tag_regex = "^(?P<prefix>v)?(?P<version>[^\\+]+)(?P<suffix>.*)?$" |
| 55 | + |
| 56 | +[tool.pytest.ini_options] |
| 57 | +filterwarnings = [ |
| 58 | + "error:::cmocean.*", |
| 59 | + "ignore::UserWarning", |
| 60 | + "ignore::RuntimeWarning", |
| 61 | +] |
0 commit comments