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: Ie929cf7fc728e108c17561976b62094f24676193
This commit is contained in:
likui 2022-08-27 09:59:06 +08:00
parent 5de39645ed
commit 4cd62b2a3d
2 changed files with 4 additions and 4 deletions

View File

@ -1,11 +1,11 @@
[metadata]
name = trove_tempest_plugin
summary = Tempest plugin for Trove project
description-file =
description_file =
README.rst
author = OpenStack
author-email = openstack-discuss@lists.openstack.org
home-page = https://docs.openstack.org/trove/latest/
author_email = openstack-discuss@lists.openstack.org
home_page = https://docs.openstack.org/trove/latest/
classifier =
Environment :: OpenStack
Intended Audience :: Information Technology

View File

@ -1,5 +1,5 @@
[tox]
minversion = 3.1.1
minversion = 3.18.0
envlist = py36,py35,pypy,pep8
skipsdist = True
ignore_basepython_conflict = True