Migrate setup configuration to pyproject.toml

Also bump the minimum pbr.

Change-Id: I228713f9444c956f6f6bf9eb4a5b7796e9f76e46
Signed-off-by: Brian Rosmaita <rosmaita.fossdev@gmail.com>
This commit is contained in:
Brian Rosmaita
2026-02-25 21:59:39 -05:00
parent 437551758e
commit b917248874
2 changed files with 44 additions and 34 deletions

View File

@@ -1,3 +1,46 @@
[build-system]
requires = ["pbr>=6.0.0", "setuptools>=64.0.0"]
requires = ["pbr>=7.0.0"]
build-backend = "pbr.build"
[project]
name = "python-cinderclient"
description = "OpenStack Block Storage API Client Library"
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",
"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 :: 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/latest/"
Repository = "https://opendev.org/openstack/python-cinderclient"
Bugs = "https://launchpad.net/python-cinderclient"
[tool.setuptools]
packages = [
"cinderclient",
]
[project.scripts]
cinder = "cinderclient.shell:main"
[project.entry-points."keystoneauth1.plugin"]
noauth = "cinderclient.contrib.noauth:CinderNoAuthLoader"

View File

@@ -1,35 +1,2 @@
[metadata]
name = python-cinderclient
summary = OpenStack Block Storage API Client Library
description_file =
README.rst
author = OpenStack
author_email = openstack-discuss@lists.openstack.org
home_page = https://docs.openstack.org/python-cinderclient/latest/
python_requires = >=3.10
classifier =
Development Status :: 5 - Production/Stable
Environment :: Console
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 :: 3
Programming Language :: Python :: 3.10
Programming Language :: Python :: 3.11
Programming Language :: Python :: 3.12
Programming Language :: Python :: 3.13
[files]
packages =
cinderclient
[entry_points]
console_scripts =
cinder = cinderclient.shell:main
keystoneauth1.plugin =
noauth = cinderclient.contrib.noauth:CinderNoAuthLoader