Skip to content

Commit 974fed5

Browse files
Modify pyproject.toml for license and package settings
Updated license type and added license-files section. Included package find options for setuptools.
1 parent d253263 commit 974fed5

1 file changed

Lines changed: 6 additions & 13 deletions

File tree

pyproject.toml

Lines changed: 6 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,15 @@
11
[build-system]
2-
requires = ["setuptools>=80", "wheel", "setuptools_scm>=8"]
2+
requires = ["setuptools>=80", "wheel"]
33
build-backend = "setuptools.build_meta"
44

5-
65
[project]
76
name = "metocean-api"
87
description = "metocean-api - Tool to extract time series of metocean data from hindcasts/reanalysis"
98
readme = "README.md"
10-
license = {file = "LICENSE"}
9+
license = "MIT"
10+
license-files = ["LICENSE"]
1111
requires-python = ">=3.11"
12-
1312
authors = [{ name = "Konstantinos Christakos" }]
14-
1513
version = "1.1.14"
1614

1715
dependencies = [
@@ -31,14 +29,9 @@ dependencies = [
3129
Homepage = "https://github.com/MET-OM/metocean-api"
3230
Repository = "https://github.com/MET-OM/metocean-api"
3331

34-
[tool.setuptools]
35-
license-files = []
36-
37-
[tool.setuptools_scm]
38-
write_to = "metocean_api/_version.py"
32+
[tool.setuptools.packages.find]
33+
include = ["metocean_api*"]
34+
exclude = ["cache*"]
3935

4036
[tool.black]
4137
line-length = 150
42-
43-
44-

0 commit comments

Comments
 (0)