From d9e67e17efad5fd3bf1be9e5ef4b78433abbd195 Mon Sep 17 00:00:00 2001 From: Takashi Kajinami Date: Sat, 26 Sep 2026 02:24:26 +0900 Subject: [PATCH] Migrate setup configuration to pyporoject.toml Change-Id: I2266e3c8a3d7afb81d05f91ec3a4f73c1bd86cc2 Signed-off-by: Takashi Kajinami --- pyproject.toml | 34 ++++++++++++++++++++++++++++++++++ setup.cfg | 28 ---------------------------- 2 files changed, 34 insertions(+), 28 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 2a38d6b..f6eedab 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,3 +1,37 @@ [build-system] requires = ["pbr>=6.1.1"] build-backend = "pbr.build" + +[project] +name = "zaqar_tempest_plugin" +description = "Tempest plugin zaqar-tempest-plugin" +authors = [ + {name = "OpenStack", email = "openstack-discuss@lists.openstack.org"}, +] +readme = {file = "README.rst", content-type = "text/x-rst"} +license = "Apache-2.0" +dynamic = ["version", "dependencies"] +requires-python = ">=3.11" +classifiers = [ + "Environment :: OpenStack", + "Intended Audience :: Information Technology", + "Intended Audience :: System Administrators", + "Intended Audience :: Developers", + "Operating System :: POSIX :: Linux", + "Programming Language :: Python", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", + "Programming Language :: Python :: 3.13", + "Programming Language :: Python :: 3.14", +] + +[project.urls] +Homepage = "https://docs.openstack.org/zaqar/" +Repository = "https://opendev.org/openstack/zaqar-tempest-plugin/" + +[project.entry-points."tempest.test_plugins"] +zaqar_tests = "zaqar_tempest_plugin.plugin:ZaqarTempestPlugin" + +[tool.setuptools.packages.find] +include = ["zaqar_tempest_plugin*"] diff --git a/setup.cfg b/setup.cfg index 7d45680..d93b711 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,30 +1,2 @@ [metadata] name = zaqar_tempest_plugin -summary = Tempest plugin zaqar_tempest_plugin -description_file = - README.rst -author = OpenStack -author_email = openstack-discuss@lists.openstack.org -home_page = http://www.openstack.org/ -python_requires = >=3.11 -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 :: Implementation :: CPython - Programming Language :: Python :: 3 :: Only - Programming Language :: Python :: 3 - Programming Language :: Python :: 3.11 - Programming Language :: Python :: 3.12 - Programming Language :: Python :: 3.13 - -[files] -packages = - zaqar_tempest_plugin - -[entry_points] -tempest.test_plugins = - zaqar_tests = zaqar_tempest_plugin.plugin:ZaqarTempestPlugin