From f57a32fc67c705aec4b91c32e55aaf2db0e7d95c Mon Sep 17 00:00:00 2001 From: Maximilian Nitsch Date: Thu, 18 Jun 2026 15:18:36 +0200 Subject: [PATCH] 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 --- pyd3tn/pyproject.toml | 4 ++-- python-ud3tn-utils/pyproject.toml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/pyd3tn/pyproject.toml b/pyd3tn/pyproject.toml index 9bd20a4..f3ea2fa 100644 --- a/pyd3tn/pyproject.toml +++ b/pyd3tn/pyproject.toml @@ -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"}, ] diff --git a/python-ud3tn-utils/pyproject.toml b/python-ud3tn-utils/pyproject.toml index f81f6ad..8bd39e9 100644 --- a/python-ud3tn-utils/pyproject.toml +++ b/python-ud3tn-utils/pyproject.toml @@ -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"}, ]