Skip to content

Commit 33f0b81

Browse files
committed
bit more metadata
1 parent dc50154 commit 33f0b81

File tree

1 file changed

+10
-14
lines changed

1 file changed

+10
-14
lines changed

pyproject.toml

Lines changed: 10 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ license = {file = "LICENSE.txt"}
1414
maintainers = [
1515
{name = "André Palóczy"},
1616
{name = "Arnaldo Russo"},
17-
{name = "Filipe Fernandes"},
17+
{name = "Filipe Fernandes", email = "[email protected]"},
1818
]
1919
requires-python = ">=3.8"
2020
classifiers = [
@@ -25,16 +25,9 @@ classifiers = [
2525
"Programming Language :: Python :: 3.11",
2626
]
2727
dynamic = [
28+
"dependencies",
2829
"version",
2930
]
30-
dependencies = [
31-
"contourpy",
32-
"gsw",
33-
"matplotlib>=3.6",
34-
"numpy>=1.20",
35-
"pandas>=1.0.1",
36-
"seawater",
37-
]
3831
[project.optional-dependencies]
3932
extras = [
4033
"cartopy",
@@ -53,18 +46,16 @@ packages = ["oceans"]
5346
zip-safe = false
5447
include-package-data = true
5548

49+
[tool.setuptools.dynamic]
50+
dependencies = {file = ["requirements.txt"]}
51+
5652
[tool.setuptools.package-data]
5753
oceans = ["colormaps/cmap_data/*.dat"]
5854

5955
[tool.setuptools_scm]
6056
write_to = "oceans/_version.py"
6157
write_to_template = "__version__ = '{version}'"
6258

63-
[tool.pytest.ini_options]
64-
markers = [
65-
"web: marks tests require connection (deselect with '-m \"not web\"')"
66-
]
67-
6859
[tool.ruff]
6960
select = [
7061
"A", # flake8-builtins
@@ -85,6 +76,11 @@ ignore = [
8576
"docs/source/conf.py" = ["E402", "A001"]
8677
"oceans/plotting.py" = ["T201"] # `print` found
8778

79+
[tool.pytest.ini_options]
80+
markers = [
81+
"web: marks tests require connection (deselect with '-m \"not web\"')"
82+
]
83+
8884
[tool.interrogate]
8985
ignore-init-method = true
9086
ignore-init-module = false

0 commit comments

Comments
 (0)