From 3c454c4167a03f890adf471f9580dd24996553dd Mon Sep 17 00:00:00 2001 From: Takashi Kajinami Date: Fri, 5 Aug 2022 01:33:49 +0900 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: Ie7265335480848753e0576052db8754c4c25a517 --- setup.cfg | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/setup.cfg b/setup.cfg index 1e089f8cb..e3bca223d 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,11 +1,11 @@ [metadata] name = packstack summary = A utility to install OpenStack -description-file = README.rst +description_file = README.rst long_description_content_type = text/x-rst author = RDO -author-email = rdo-list@redhat.com -home-page = http://www.rdoproject.org/ +author_email = rdo-list@redhat.com +home_page = http://www.rdoproject.org/ python_requires = >=3.6 classifier = Environment :: OpenStack