From bad107ef7995fb5a120ca097315e15038819708c Mon Sep 17 00:00:00 2001 From: Takashi Kajinami Date: Sun, 6 Feb 2022 01:49:31 +0900 Subject: [PATCH] setup.cfg: Replace dashes by underscores Since setuptools v54.1.0[1], the parmeters with dash have been deprecated in favor of the new parameters with underscore. This change updates the parameters accordingly to avoid the warnings like the example below. UserWarning: Usage of dash-separated 'description-file' will not be supported in future versions. Please use the underscore name 'description_file' instead [1] https://github.com/pypa/setuptools/commit/a2e9ae4cb Change-Id: Id43f253899b5af1f40a41d7fff1f78c316b31367 --- setup.cfg | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/setup.cfg b/setup.cfg index b1c1877b..021bec3a 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,11 +1,11 @@ [metadata] name = keystonemiddleware summary = Middleware for OpenStack Identity -description-file = +description_file = README.rst author = OpenStack -author-email = openstack-discuss@lists.openstack.org -home-page = https://docs.openstack.org/keystonemiddleware/latest/ +author_email = openstack-discuss@lists.openstack.org +home_page = https://docs.openstack.org/keystonemiddleware/latest/ python_requires = >=3.8 classifier = Environment :: OpenStack @@ -28,7 +28,7 @@ audit_notifications = oslo.messaging>=5.29.0 # Apache-2.0 [global] -setup-hooks = +setup_hooks = pbr.hooks.setup_hook [entry_points]