aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCristián Maureira-Fredes <[email protected]>2025-06-05 13:53:32 +0200
committerCristian Maureira-Fredes <[email protected]>2025-06-05 17:59:51 +0000
commite38c671e249b2020261fb03ad568b8f4954e415a (patch)
treeb952087193dda7f3c830182625e5f8ae75ab6e67
parent2994629b717fd52d616db139017e25535b357309 (diff)
build: re-add text attribute for license
Amends 2994629b717fd52d616db139017e25535b357309 To keep supporting the old 'setup.py install' approach, this was a mistake, because we still use in the pyproject.toml file the line: license = {text="LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only"} The reason this was not detected by the CI, is bacause we don't use the deprecated approach of 'setup.py install' but rahter the 'setup.py build' + create_wheels + pip install Change-Id: I5c67cc0073982355c8f95a76d581580edd023f9e Pick-to: 6.9 Reviewed-by: Friedemann Kleint <[email protected]>
-rw-r--r--build_scripts/config.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/build_scripts/config.py b/build_scripts/config.py
index af4dabbf3..efafc7688 100644
--- a/build_scripts/config.py
+++ b/build_scripts/config.py
@@ -82,7 +82,7 @@ class Config(metaclass=Singleton):
self.setup_kwargs['author'] = _author["name"]
self.setup_kwargs['author_email'] = _author["email"]
self.setup_kwargs['url'] = _pyproject_data["urls"]["Homepage"]
- self.setup_kwargs['license'] = _pyproject_data["license"]
+ self.setup_kwargs['license'] = _pyproject_data["license"]["text"]
self.setup_kwargs['python_requires'] = _pyproject_data["requires-python"]
self.classifiers = _pyproject_data["classifiers"]