Update packaging configuration

Enable package discovery and resolve setuptools deprecation warnings
around license configuration.

Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
Change-Id: I250a22d673e043fc771dd4fe136ec56034dc9923
This commit is contained in:
Stephen Finucane
2026-03-09 12:28:50 +00:00
parent b1f46699f6
commit 022f8ed3dc
+3 -3
View File
@@ -9,13 +9,13 @@ readme = "README.rst"
authors = [
{name = "OpenStack", email = "openstack-discuss@lists.openstack.org"},
]
license = "Apache-2.0"
requires-python = ">=3.10"
dynamic = ["version", "dependencies"]
classifiers = [
"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",
@@ -36,8 +36,8 @@ Repository = "https://opendev.org/openstack/oslo.rootwrap"
oslo-rootwrap = "oslo_rootwrap.cmd:main"
oslo-rootwrap-daemon = "oslo_rootwrap.cmd:daemon"
[tool.setuptools]
packages = ["oslo_rootwrap"]
[tool.setuptools.packages.find]
include = ["oslo_rootwrap"]
[tool.mypy]
python_version = "3.10"