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
This commit is contained in:
jiangzhilin 2021-05-04 15:38:47 +08:00 committed by 江治林
parent c5e5b2427b
commit c9f757de68

View File

@ -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]