Migrate setup configuration to pyproject.toml

Change-Id: I6fdfa8025a5b02530711b4781f6eb56c58ba0811
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
This commit is contained in:
Stephen Finucane
2025-09-12 11:12:22 +01:00
parent 09697400bf
commit 508921899a
2 changed files with 33 additions and 25 deletions

View File

@@ -1,3 +1,36 @@
[build-system]
requires = ["pbr>=6.1.1"]
build-backend = "pbr.build"
[project]
name = "sphinx-feature-classification"
description = "Generate a matrix of pluggable drivers and their support to an API in Sphinx."
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]
Homepage = "https://docs.openstack.org/sphinx-feature-classification"
Repository = "https://opendev.org/openstack/sphinx-feature-classification"
[tool.setuptools]
packages = [
"sphinx_feature_classification"
]

View File

@@ -1,27 +1,2 @@
[metadata]
name = sphinx-feature-classification
summary = Generate a matrix of pluggable drivers and their support to an API in Sphinx.
description-file =
README.rst
author = OpenStack
author-email = openstack-discuss@lists.openstack.org
home-page = https://docs.openstack.org/sphinx-feature-classification/latest/
python-requires = >=3.10
classifier =
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
Programming Language :: Python :: 3 :: Only
Programming Language :: Python :: Implementation :: CPython
[files]
packages =
sphinx_feature_classification