Migrate setup configuration to pyproject.toml

Change-Id: Ib0e43ac17b5e61881df0ec6c2b32c721200780a6
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:12:47 +00:00
parent 3dd30a55ad
commit b95dcfcb2e
3 changed files with 43 additions and 25 deletions

38
pyproject.toml Normal file
View File

@@ -0,0 +1,38 @@
[build-system]
requires = ["pbr>=6.1.1"]
build-backend = "pbr.build"
[project]
name = "neutron-fwaas-dashboard"
description = "Neutron FWaaS 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-fwaas-dashboard/latest/"
Repository = "https://opendev.org/openstack/neutron-fwaas-dashboard"
[tool.setuptools]
packages = [
"neutron_fwaas_dashboard"
]

View File

@@ -0,0 +1,5 @@
---
upgrade:
- |
Support for Python 3.9 has been removed. Now the minimum python version
supported is 3.10.

View File

@@ -1,27 +1,2 @@
[metadata]
name = neutron-fwaas-dashboard
summary = Neutron FWaaS Dashboard
description_file =
README.rst
author = OpenStack
author_email = openstack-discuss@lists.openstack.org
home_page = https://docs.openstack.org/neutron-fwaas-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 :: Implementation :: CPython
Programming Language :: Python :: 3 :: Only
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_fwaas_dashboard