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