Migrate setup configuration to pyproject.toml

Also bump minimum pbr.

Change-Id: I7c921f32eef1b71d183417c36de9716c83a78f21
Signed-off-by: Brian Rosmaita <rosmaita.fossdev@gmail.com>
This commit is contained in:
Brian Rosmaita
2026-02-25 21:39:07 -05:00
parent b5cf5c37d2
commit 30866ea6ec
2 changed files with 39 additions and 26 deletions

View File

@@ -1,3 +1,41 @@
[build-system]
requires = ["pbr>=6.0.0", "setuptools>=64.0.0"]
requires = ["pbr>=7.0.0"]
build-backend = "pbr.build"
[project]
name = "python-brick-cinderclient-ext"
description = "python-cinderclient extension for local storage management"
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 = [
"Development Status :: 5 - Production/Stable",
"Environment :: Console",
"Intended Audience :: Developers",
"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 :: Only",
"Programming Language :: Python :: Implementation :: CPython",
"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]
Homepage = "https://docs.openstack.org/python-cinderclient"
Repository = "https://opendev.org/openstack/python-brick-cinderclient-ext"
Bugs = "https://launchpad.net/python-cinderclient"
[tool.setuptools]
packages = [
"brick_cinderclient_ext",
]

View File

@@ -1,27 +1,2 @@
[metadata]
name = python-brick-cinderclient-ext
description = python-cinderclient extension for local storage management
long_description = file: README.rst
author = OpenStack
author_email = openstack-discuss@lists.openstack.org
url = http://docs.openstack.org/cinder/latest/
python_requires = >=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 :: Only
Programming Language :: Python :: Implementation :: CPython
Programming Language :: Python :: 3
Programming Language :: Python :: 3.10
Programming Language :: Python :: 3.11
Programming Language :: Python :: 3.12
Programming Language :: Python :: 3.13
[files]
packages =
brick_cinderclient_ext
brick_python_cinderclient_ext