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:
+3
-6
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user