Update packaging configuration

Enable package discovery and resolve setuptools deprecation warnings
around license configuration.

Change-Id: Icd5b1ba0e964abb2607415a4504cce81203b3b33
Co-authored-by: Stephen Finucane <stephenfin@redhat.com>
Signed-off-by: Ivan Anfimov <lazekteam@gmail.com>
This commit is contained in:
Ivan Anfimov
2026-05-20 12:28:59 +00:00
co-authored by Stephen Finucane
parent ad3ba81925
commit a252f184fd
+4 -7
View File
@@ -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*"]