Update packaging configuration

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

Change-Id: Ida80ca5a3cbe92fbb0ef70d709efdedbf166ded6
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
This commit is contained in:
Stephen Finucane
2026-03-09 12:33:19 +00:00
parent c5d372945b
commit 2cd9449b3c
+3 -6
View File
@@ -9,14 +9,13 @@ authors = [
{name = "OpenStack", email = "openstack-discuss@lists.openstack.org"},
]
readme = {file = "README.rst", content-type = "text/x-rst"}
license = {text = "Apache-2.0"}
license = "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",
@@ -31,10 +30,8 @@ classifiers = [
Homepage = "https://docs.openstack.org/oslo.upgradecheck"
Repository = "https://opendev.org/openstack/oslo.upgradecheck"
[tool.setuptools]
packages = [
"oslo_upgradecheck"
]
[tool.setuptools.packages.find]
include = ["oslo_upgradecheck"]
[tool.mypy]
python_version = "3.10"