From 8ae2d398770c2a36e01f43f233997c569840ddd2 Mon Sep 17 00:00:00 2001 From: songwenping Date: Fri, 19 Aug 2022 10:11:43 +0800 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: I136b88f5f207acd455ad5e2e262bbbfa7774fe15 --- setup.cfg | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/setup.cfg b/setup.cfg index 9193ccb..71b53e0 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,11 +1,11 @@ [metadata] name = magnum-specs summary = Design specifications for Magnum -description-file = +description_file = README.rst author = OpenStack -author-email = openstack-discuss@lists.openstack.org -home-page = https://specs.openstack.org/openstack/magnum-specs/ +author_email = openstack-discuss@lists.openstack.org +home_page = https://specs.openstack.org/openstack/magnum-specs/ classifier = Environment :: OpenStack Intended Audience :: Developers