From 0cca7cebf9a77accf2728a0b17530ea35e16f42f Mon Sep 17 00:00:00 2001 From: Stephen Finucane Date: Thu, 11 Sep 2025 16:32:27 +0100 Subject: [PATCH] Migrate setup configuration to pyproject.toml Change-Id: I827288c838245af048bbd392b70f60aa12a36199 Signed-off-by: Stephen Finucane --- pyproject.toml | 35 +++++++++++++++++++++++++++++++++++ setup.cfg | 24 ------------------------ 2 files changed, 35 insertions(+), 24 deletions(-) create mode 100644 pyproject.toml diff --git a/pyproject.toml b/pyproject.toml new file mode 100644 index 0000000..d04fe09 --- /dev/null +++ b/pyproject.toml @@ -0,0 +1,35 @@ +[build-system] +requires = ["pbr>=6.1.1"] +build-backend = "pbr.build" + +[project] +name = "microversion_parse" +description = "OpenStack microversion header parser" +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", +] + +[project.urls] +Repository = "https://opendev.org/openstack/microversion-parse" + +[tool.setuptools] +packages = [ + "microversion_parse" +] diff --git a/setup.cfg b/setup.cfg index 4778b6e..4bd1423 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,26 +1,2 @@ [metadata] name = microversion_parse -summary = OpenStack microversion header parser -description_file = README.rst -author = OpenStack -author_email = openstack-discuss@lists.openstack.org -home_page = http://www.openstack.org/ -python_requires = >=3.10 -classifier = - Environment :: OpenStack - Intended Audience :: Information Technology - 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 - -[files] -packages = - microversion_parse -