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
This commit is contained in:
maaoyu 2021-04-27 16:24:18 +08:00
parent c873c8e18a
commit 73af2b0f64

View File

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