From 73af2b0f64c109f1a502e677238a3c6fec31fd00 Mon Sep 17 00:00:00 2001 From: maaoyu Date: Tue, 27 Apr 2021 16:24:18 +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: I553278217772a4f87d053b2632baf485cac5bfad --- setup.cfg | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/setup.cfg b/setup.cfg index 63a761e..b159d03 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,12 +1,12 @@ [metadata] name = tripleo-ha-utils summary = Give a set of tools to test TripleO HA capabilities -description-file = +description_file = long_description_content_type = text/markdown README.md author = Raoul Scarazzini -author-email = rasca@redhat.com -home-page = https://github.com/openstack/tripleo-ha-utils/ +author_email = rasca@redhat.com +home_page = https://github.com/openstack/tripleo-ha-utils/ classifier = License :: OSI Approved :: Apache Software License Development Status :: 4 - Beta