From a252f184fd5a8851df5f3d9ecdde5f7b045b2cfd Mon Sep 17 00:00:00 2001 From: Ivan Anfimov Date: Wed, 20 May 2026 12:22:23 +0000 Subject: [PATCH] Update packaging configuration Enable package discovery and resolve setuptools deprecation warnings around license configuration. Change-Id: Icd5b1ba0e964abb2607415a4504cce81203b3b33 Co-authored-by: Stephen Finucane Signed-off-by: Ivan Anfimov --- pyproject.toml | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index d1cd13e..bddc88a 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,19 +4,18 @@ build-backend = "pbr.build" [project] name = "neutron-vpnaas-dashboard" -description = "Neutron VPNaaS Dashboard" +description = "Neutron VPNaaS UI for Horizon" authors = [ {name = "OpenStack", email = "openstack-discuss@lists.openstack.org"}, ] readme = {file = "README.rst", content-type = "text/x-rst"} -license = {text = "Apache-2.0"} +license = "Apache-2.0" dynamic = ["version", "dependencies"] requires-python = ">=3.10" classifiers = [ "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 :: 3", @@ -33,7 +32,5 @@ classifiers = [ "Documentation" = "https://docs.openstack.org/neutron-vpnaas-dashboard/latest/" "Source Code" = "https://opendev.org/openstack/neutron-vpnaas-dashboard" -[tool.setuptools] -packages = [ - "neutron_vpnaas_dashboard" -] +[tool.setuptools.packages.find] +include = ["neutron_vpnaas_dashboard*"]