From 2e6914822d026d8a441815052b323e911b93d1bb Mon Sep 17 00:00:00 2001 From: Ivan Anfimov Date: Fri, 12 Sep 2025 13:23:10 +0000 Subject: [PATCH] Migrate setup configuration to pyproject.toml Change-Id: I43861e77aeffd66b7f12e6ea8f07d235e0b032b3 Co-authored-by: Stephen Finucane Signed-off-by: Ivan Anfimov --- pyproject.toml | 38 ++++++++++++++++++++++++++++++++++++++ setup.cfg | 25 ------------------------- 2 files changed, 38 insertions(+), 25 deletions(-) create mode 100644 pyproject.toml diff --git a/pyproject.toml b/pyproject.toml new file mode 100644 index 0000000..15d5ff2 --- /dev/null +++ b/pyproject.toml @@ -0,0 +1,38 @@ +[build-system] +requires = ["pbr>=6.1.1"] +build-backend = "pbr.build" + +[project] +name = "cloudkitty-dashboard" +description = "CloudKitty Horizon dashboard" +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", + "Programming Language :: Python :: 3 :: Only", + "Programming Language :: Python :: Implementation :: CPython", +] + +[project.urls] +Homepage = "https://docs.openstack.org/cloudkitty-dashboard/latest/" +Repository = "https://opendev.org/openstack/cloudkitty-dashboard" + +[tool.setuptools] +packages = [ + "cloudkittydashboard" +] diff --git a/setup.cfg b/setup.cfg index 2906adb..3217642 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,27 +1,2 @@ [metadata] name = cloudkitty-dashboard -summary = CloudKitty Horizon dashboard -description_file = - README.rst -author = OpenStack -author_email = openstack-discuss@lists.openstack.org -home_page = https://docs.openstack.org/cloudkitty-dashboard/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 :: Implementation :: CPython - Programming Language :: Python :: 3 :: Only - Programming Language :: Python :: 3.10 - Programming Language :: Python :: 3.11 - Programming Language :: Python :: 3.12 - Programming Language :: Python :: 3.13 - -[files] -packages = - cloudkittydashboard