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: I2814f0faa3462b43da85ef5b4a53444b8df96157
This commit is contained in:
maaoyu 2021-04-27 14:45:11 +08:00
parent 4306237126
commit 26950e728b
1 changed files with 4 additions and 4 deletions

View File

@ -1,12 +1,12 @@
[metadata]
name = gabbi-tempest
author = Chris Dent
author-email = cdent@anticdent.org
author_email = cdent@anticdent.org
summary = Run Gabbi Tests as Tempest Plugin
description-file = README.rst
description-content-type = text/x-rst; charset=UTF-8
description_file = README.rst
description_content_type = text/x-rst; charset=UTF-8
license = Apache-2
home-page = https://git.openstack.org/openstack/gabbi-tempest
home_page = https://git.openstack.org/openstack/gabbi-tempest
classifier =
Intended Audience :: Developers
Intended Audience :: Information Technology