From c9f757de685c2989198db633d677cf46ae4b282c Mon Sep 17 00:00:00 2001 From: jiangzhilin Date: Tue, 4 May 2021 15:38:47 +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: I1a0ce7526a0f6c84ace786a80f5344fc5d626f0d --- setup.cfg | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/setup.cfg b/setup.cfg index 58940b4..3cec095 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,11 +1,11 @@ [metadata] name = ansible-role-atos-hsm summary = ansible-role-atos-hsm - Ansible role to configure ATOS HSM clients. -description-file = +description_file = README.rst author = OpenStack Barbican Team -author-email = alee@redhat.com -home-page = https://opendev.org/openstack/ansible-role-atos-hsm +author_email = alee@redhat.com +home_page = https://opendev.org/openstack/ansible-role-atos-hsm classifier = License :: OSI Approved :: Apache Software License Development Status :: 5 - Production/Stable @@ -15,7 +15,7 @@ classifier = Topic :: Utilities [global] -setup-hooks = +setup_hooks = pbr.hooks.setup_hook [files]