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
This commit is contained in:
jiangzhilin 2021-05-04 16:00:15 +08:00 committed by Douglas Mendizábal
parent 60bc79198d
commit 1ae2b5a261

View File

@ -1,11 +1,11 @@
[metadata] [metadata]
name = ansible-role-lunasa-hsm name = ansible-role-lunasa-hsm
summary = ansible-role-lunasa-hsm - Ansible role to configure Lunasa HSM clients. summary = ansible-role-lunasa-hsm - Ansible role to configure Lunasa HSM clients.
description-file = description_file =
README.rst README.rst
author = TripleO Team author = TripleO Team
author-email = alee@redhat.com author_email = alee@redhat.com
home-page = https://opendev.org/openstack/ansible-role-lunasa-hsm home_page = https://opendev.org/openstack/ansible-role-lunasa-hsm
classifier = classifier =
License :: OSI Approved :: Apache Software License License :: OSI Approved :: Apache Software License
Development Status :: 4 - Beta Development Status :: 4 - Beta