From 5567e6417da4c134c52baf91a3e6173084538485 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mat=C4=9Bj=20Cepl?= Date: Fri, 2 May 2025 22:58:25 +0200 Subject: [PATCH] fix(pyproject): replace license by file to using SPDX keyword As per https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license --- pyproject.toml | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 5e3a1898..c1e6cef0 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -39,10 +39,10 @@ readme = "DESCRIPTION.rst" # Optional # https://packaging.python.org/guides/distributing-packages-using-setuptools/#python-requires requires-python = ">=3.7" -# This is either text indicating the license for the distribution, or a file -# that contains the license +# This is SPDX keyword indicating the license for the distribution # https://packaging.python.org/en/latest/specifications/core-metadata/#license -license = {file = "LICENSE"} +# https://spdx.org/licenses/ +license = "Apache-2.0" # This field adds keywords for your project which will appear on the # project page. What does your project relate to? @@ -82,9 +82,6 @@ classifiers = [ # Optional "Intended Audience :: End Users/Desktop", "Topic :: Internet :: WWW/HTTP", - # Pick your license as you wish - "License :: OSI Approved :: Apache Software License", - # Specify the Python versions you support here. In particular, ensure # that you indicate you support Python 3. These classifiers are *not* # checked by "pip install". See instead "python_requires" below.