Migrate setup configuration to pyproject.toml

Change-Id: Iee71fab48cdcba8c3f96db9d49f27557a8884826
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-04 20:53:25 +00:00
co-authored by Stephen Finucane
parent f3a1e33c94
commit 134331f39a
3 changed files with 32 additions and 30 deletions
+31
View File
@@ -0,0 +1,31 @@
[build-system]
requires = ["pbr>=6.1.1"]
build-backend = "pbr.build"
[project]
name = "blazar-nova"
description = "Nova related filters and extensions for Blazar"
authors = [
{name = "OpenStack", email = "openstack-discuss@lists.openstack.org"},
]
readme = {file = "README.rst", content-type = "text/x-rst"}
license = "Apache-2.0"
dynamic = ["version", "dependencies"]
requires-python = ">=3.10"
classifiers = [
"Environment :: OpenStack",
"Intended Audience :: Developers",
"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",
]
[project.urls]
Repository = "https://opendev.org/openstack/blazar-nova"
[tool.setuptools.packages.find]
include = ["blazarnova"]
-27
View File
@@ -1,29 +1,2 @@
[metadata]
name = blazar-nova
summary = Nova related filters and extensions for Blazar
description_file = README.rst
license = Apache Software License
python_requires = >=3.10
classifiers =
Programming Language :: Python
Programming Language :: Python :: Implementation :: CPython
Programming Language :: Python :: 3 :: Only
Programming Language :: Python :: 3
Programming Language :: Python :: 3.10
Programming Language :: Python :: 3.11
Programming Language :: Python :: 3.12
Programming Language :: Python :: 3.13
Environment :: OpenStack
Development Status :: 3 - Alpha
Framework :: Setuptools Plugin
Intended Audience :: Information Technology
Intended Audience :: System Administrators
License :: OSI Approved :: Apache Software License
Operating System :: POSIX :: Linux
author = OpenStack
author_email = openstack-discuss@lists.openstack.org
home_page = https://launchpad.net/blazar
[files]
packages =
blazarnova
+1 -3
View File
@@ -15,6 +15,4 @@
import setuptools
setuptools.setup(
setup_requires=['pbr>=2.0.0'],
pbr=True)
setuptools.setup(pbr=True)