Migrate setup configuration to pyproject.toml

Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
Change-Id: I8dd6134bc64aea20f82907761cd1ceee6ada9d86
This commit is contained in:
Stephen Finucane
2025-09-12 10:47:03 +01:00
parent 7464c5bd3d
commit 85aed583fd
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 = "futurist"
description = "Useful additions to futures, from the future."
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/futurist"
Repository = "https://opendev.org/openstack/futurist"
[tool.setuptools]
packages = [
"futurist"
]

View File

@@ -1,27 +1,2 @@
[metadata]
name = futurist
summary = Useful additions to futures, from the future.
description_file =
README.rst
author = OpenStack
author_email = openstack-discuss@lists.openstack.org
home_page = https://docs.openstack.org/futurist/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 =
futurist