Migrate setup configuration to pyproject.toml

Change-Id: I2a6a6aacc5b37ca0ee45a236b292a32a102c60a0
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
This commit is contained in:
Stephen Finucane
2025-09-12 10:45:32 +01:00
parent 6d3df293a6
commit bd5f61b0db
2 changed files with 34 additions and 26 deletions

View File

@@ -1,3 +1,37 @@
[build-system]
requires = ["pbr>=6.1.1"]
build-backend = "pbr.build"
[project]
name = "etcd3gw"
description = "A Python client for etcd3 grpc-gateway v3 API"
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 :: Console",
"Environment :: OpenStack",
"Intended Audience :: Information Technology",
"Intended Audience :: Developers",
"License :: OSI Approved :: Apache Software License",
"Operating System :: OS Independent",
"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/etcd3gw"
Repository = "https://opendev.org/openstack/etcd3gw"
[tool.setuptools]
packages = [
"etcd3gw"
]

View File

@@ -1,28 +1,2 @@
[metadata]
name = etcd3gw
summary = A python client for etcd3 grpc-gateway v3 API
description_file =
README.md
author = OpenStack
author_email = openstack-discuss@lists.openstack.org
home_page = https://docs.openstack.org/etcd3gw/latest/
python_requires = >=3.10
classifier =
Environment :: Console
Environment :: OpenStack
Intended Audience :: Developers
Intended Audience :: Information Technology
License :: OSI Approved :: Apache Software License
Operating System :: OS Independent
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
Topic :: System :: Distributed Computing
[files]
packages =
etcd3gw