python: set license-file in pyproject.toml

> SetuptoolsDeprecationWarning: `project.license` as a TOML table is
> deprecated
> Please use a simple string containing a SPDX expression for
> `project.license`. You can also use `project.license-files`.
> (Both options available on setuptools>=77.0.0).
> See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license
> for details.

Signed-off-by: Maximilian Nitsch <maximilian.nitsch@d3tn.com>
This commit is contained in:
Maximilian Nitsch 2026-06-18 15:18:36 +02:00
parent 5d7ac670b5
commit f57a32fc67
2 changed files with 4 additions and 4 deletions

View file

@ -1,5 +1,5 @@
[build-system]
requires = ["setuptools >= 62.5"]
requires = ["setuptools >= 77.0"]
build-backend = "setuptools.build_meta"
[project]
@ -7,7 +7,7 @@ name = "pyD3TN"
version = "0.15.0"
description = "Collection of DTN protocol implementations"
readme = "README.md"
license = { text = "BSD-3-Clause OR Apache-2.0" }
license-files = ["LICENSE"]
authors = [
{name = "D3TN GmbH", email = "contact@d3tn.com"},
]

View file

@ -1,5 +1,5 @@
[build-system]
requires = ["setuptools >= 62.5"]
requires = ["setuptools >= 77.0"]
build-backend = "setuptools.build_meta"
[project]
@ -7,7 +7,7 @@ name = "ud3tn-utils"
version = "0.15.0"
description = "μD3TN Utilities"
readme = "README.md"
license = { text = "BSD-3-Clause OR Apache-2.0" }
license-files = ["LICENSE"]
authors = [
{name = "D3TN GmbH", email = "contact@d3tn.com"},
]