From 894dd74d6a495a9123d071c7317ecb7bfed8ea25 Mon Sep 17 00:00:00 2001 From: Dmitriy Rabotyagov Date: Thu, 21 Aug 2025 13:17:19 +0200 Subject: [PATCH] Update license defenition in favor of SPDX It is suggested for Python projects to define license not as classifier but as SPDX expression [1] [1] https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license Change-Id: I4f287fa4a4edb9715a056d323e738d2cace1e601 Signed-off-by: Dmitriy Rabotyagov --- setup.cfg | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/setup.cfg b/setup.cfg index 9478af6f6..32522ed8e 100644 --- a/setup.cfg +++ b/setup.cfg @@ -7,11 +7,12 @@ author = OpenStack author_email = openstack-discuss@lists.openstack.org home_page = https://docs.openstack.org/vitrage/latest/ python_requires = >=3.9 +license = Apache-2.0 +license_files = ['LICENSE'] classifier = Environment :: OpenStack Intended Audience :: Information Technology Intended Audience :: System Administrators - License :: OSI Approved :: Apache Software License Operating System :: POSIX :: Linux Programming Language :: Python Programming Language :: Python :: Implementation :: CPython