From 1ae2b5a261f5fe43658875f69fad5cb43d7acdba Mon Sep 17 00:00:00 2001 From: jiangzhilin Date: Tue, 4 May 2021 16:00:15 +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: Id5f05171b1aa67e4f234ae60b2194031011343ec --- setup.cfg | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/setup.cfg b/setup.cfg index 5240199..d46f061 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,11 +1,11 @@ [metadata] name = ansible-role-lunasa-hsm summary = ansible-role-lunasa-hsm - Ansible role to configure Lunasa HSM clients. -description-file = +description_file = README.rst author = TripleO Team -author-email = alee@redhat.com -home-page = https://opendev.org/openstack/ansible-role-lunasa-hsm +author_email = alee@redhat.com +home_page = https://opendev.org/openstack/ansible-role-lunasa-hsm classifier = License :: OSI Approved :: Apache Software License Development Status :: 4 - Beta