Migrate setup configuration to pyproject.toml

Change-Id: I8c5a4a9c992b0f314725954d534e8110a4593b34
Co-authored-by: Stephen Finucane <stephenfin@redhat.com>
Signed-off-by: Ivan Anfimov <lazekteam@gmail.com>
This commit is contained in:
Ivan Anfimov
2025-09-17 18:35:22 +00:00
parent a672a60433
commit 07944318d4
3 changed files with 43 additions and 23 deletions
+38
View File
@@ -0,0 +1,38 @@
[build-system]
requires = ["pbr>=6.1.1"]
build-backend = "pbr.build"
[project]
name = "neutron-vpnaas-dashboard"
description = "Neutron VPNaaS Dashboard"
authors = [
{name = "OpenStack", email = "openstack-discuss@lists.openstack.org"},
]
readme = {file = "README.rst", content-type = "text/x-rst"}
license = {text = "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",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: Implementation :: CPython",
]
[project.urls]
Homepage = "https://docs.openstack.org/neutron-vpnaas-dashboard/latest/"
Repository = "https://opendev.org/openstack/neutron-fwaas-dashboard"
[tool.setuptools]
packages = [
"neutron_vpnaas_dashboard"
]
+5
View File
@@ -0,0 +1,5 @@
---
upgrade:
- |
Support for Python 3.9 has been removed. Now the minimum python version
supported is 3.10.
-23
View File
@@ -1,25 +1,2 @@
[metadata]
name = neutron-vpnaas-dashboard
summary = Neutron VPNaaS Dashboard
description_file =
README.rst
author = OpenStack
author_email = openstack-discuss@lists.openstack.org
home_page = https://docs.openstack.org/neutron-vpnaas-dashboard/latest/
python_requires = >=3.9
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 :: 3
Programming Language :: Python :: 3.9
Programming Language :: Python :: 3.10
Programming Language :: Python :: 3.11
Programming Language :: Python :: 3.12
[files]
packages =
neutron_vpnaas_dashboard