From 30866ea6ec6563ce5f4233aba054b6bbf5c8915f Mon Sep 17 00:00:00 2001 From: Brian Rosmaita Date: Wed, 25 Feb 2026 21:39:07 -0500 Subject: [PATCH] Migrate setup configuration to pyproject.toml Also bump minimum pbr. Change-Id: I7c921f32eef1b71d183417c36de9716c83a78f21 Signed-off-by: Brian Rosmaita --- pyproject.toml | 40 +++++++++++++++++++++++++++++++++++++++- setup.cfg | 25 ------------------------- 2 files changed, 39 insertions(+), 26 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 5e862a9..e02761d 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -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", + ] diff --git a/setup.cfg b/setup.cfg index 4d827d5..7d8887d 100644 --- a/setup.cfg +++ b/setup.cfg @@ -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