From e816fafffc9f7aca466e38d9c218d668f415065e Mon Sep 17 00:00:00 2001 From: yangyawei Date: Fri, 14 May 2021 15:55:04 +0800 Subject: [PATCH] setup.cfg: Replace dashes with underscores Setuptools v54.1.0 introduces a warning that the use of dash-separated options in 'setup.cfg' will not be supported in a future version [1]. Get ahead of the issue by replacing the dashes with underscores. Without this, we see 'UserWarning' messages like the following on new enough versions of setuptools: 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: Id782291f7892b93d8452c836bfdd7f47f8e940ef --- setup.cfg | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/setup.cfg b/setup.cfg index b6537164..5b10e772 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,10 +1,10 @@ [metadata] name = Grenade summary = OpenStack Grenade -description-file = +description_file = README.rst author = OpenStack -author-email = openstack-discuss@lists.openstack.org +author_email = openstack-discuss@lists.openstack.org classifier = Intended Audience :: Developers License :: OSI Approved :: Apache Software License