Skip to content

Commit f106a7d

Browse files
committed
Update pyproject.toml licensing & setuptools metadata.
1 parent 8a78ecc commit f106a7d

1 file changed

Lines changed: 13 additions & 18 deletions

File tree

pyproject.toml

Lines changed: 13 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -6,20 +6,18 @@ readme = "README.md"
66
dynamic = ["version"]
77
authors = [{name = "Ollie Tooth"}, {email = "oliver.tooth@noc.ac.uk"},{name = "Joao Morado"},{email = "joao.morado@noc.ac.uk"}]
88
maintainers = [{name = "Ollie Tooth"}, {email = "oliver.tooth@noc.ac.uk"}]
9-
license = { text = "GPL-3.0-or-later" }
9+
license = { text = "Apache-2.0" }
1010
requires-python = ">=3.10"
1111

1212
classifiers = [
13-
"Development Status :: 4 - Beta",
14-
"Intended Audience :: Science/Research",
15-
"Topic :: Scientific/Engineering",
16-
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
17-
"Operating System :: OS Independent",
18-
"Programming Language :: Python",
19-
"Programming Language :: Python :: 3.10",
20-
"Programming Language :: Python :: 3.11",
21-
"Programming Language :: Python :: 3.12",
22-
"Programming Language :: Python :: 3.13",
13+
"Operating System :: OS Independent",
14+
"Intended Audience :: Science/Research",
15+
"Programming Language :: Python",
16+
"Programming Language :: Python :: 3",
17+
"Programming Language :: Python :: 3.11",
18+
"Programming Language :: Python :: 3.12",
19+
"Programming Language :: Python :: 3.13",
20+
"Topic :: Scientific/Engineering",
2321
]
2422

2523
dependencies = [
@@ -39,21 +37,18 @@ dependencies = [
3937
]
4038

4139
[project.optional-dependencies]
42-
test = ["pytest >= 7.2.0"]
40+
test = ["pytest >=8.3.3", "pytest-mock >= 3.15.1"]
4341

4442
[project.urls]
4543
Home = "https://github.com/NOC-MSM/OceanDataStore"
4644
Documentation = "https://noc-msm.github.io/OceanDataStore/"
4745

48-
[tool.setuptools.dynamic]
49-
version = {attr = "OceanDataStore.__init__.__version__"}
50-
5146
[build-system]
5247
build-backend = "setuptools.build_meta"
53-
requires = ["setuptools>=42", "setuptools-scm>=7"]
48+
requires = ["setuptools>=77.0.3", "setuptools-scm>=8"]
5449

55-
[tool.setuptools]
56-
packages = ["OceanDataStore"]
50+
[tool.setuptools.packages.find]
51+
include = ["OceanDataStore*"]
5752

5853
[project.scripts]
5954
ods = "OceanDataStore.cli.main_cli:ods"

0 commit comments

Comments
 (0)