From c8a0ce188e4056e5af5f96f04c76432b80fe9e92 Mon Sep 17 00:00:00 2001 From: Ivan Anfimov Date: Thu, 11 Sep 2025 22:03:06 +0000 Subject: [PATCH] Migrate setup configuration to pyproject.toml Change-Id: I9eba384e21a78209931c379e92f55c16292f603b Co-authored-by: Stephen Finucane Signed-off-by: Ivan Anfimov --- pyproject.toml | 38 ++++++++++++++++++++++++++++++++++++++ setup.cfg | 29 ----------------------------- 2 files changed, 38 insertions(+), 29 deletions(-) create mode 100644 pyproject.toml diff --git a/pyproject.toml b/pyproject.toml new file mode 100644 index 0000000..1fdda23 --- /dev/null +++ b/pyproject.toml @@ -0,0 +1,38 @@ +[build-system] +requires = ["pbr>=6.1.1"] +build-backend = "pbr.build" + +[project] +name = "mistral-dashboard" +description = "Mistral 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/mistral/latest/" +Repository = "https://opendev.org/openstack/mistral-dashboard" + +[tool.setuptools] +packages = [ + "mistraldashboard" +] diff --git a/setup.cfg b/setup.cfg index e828f65..637d994 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,31 +1,2 @@ [metadata] name = mistral-dashboard -summary = Mistral dashboard -description_file = - README.rst -license = Apache-2.0 -author = OpenStack -author_email = openstack-discuss@lists.openstack.org -home_page = https://docs.openstack.org/mistral/latest/ -python_requires = >=3.10 -classifiers = - Environment :: OpenStack - Intended Audience :: Information Technology - Intended Audience :: System Administrators - 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.10 - Programming Language :: Python :: 3.11 - Programming Language :: Python :: 3.12 - Programming Language :: Python :: 3.13 - -[global] -setup_hooks = - pbr.hooks.setup_hook - -[files] -packages = - mistraldashboard