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

Change-Id: I6fbe11a5bac502197225c719948548bdc8830402
This commit is contained in:
liyou01 2021-05-18 10:09:10 +08:00
parent 948b13513b
commit 64116801ff

View File

@ -1,11 +1,11 @@
[metadata] [metadata]
name = goal-tools name = goal-tools
author = OpenStack author = OpenStack
author-email = openstack-discuss@lists.openstack.org author_email = openstack-discuss@lists.openstack.org
summary = OpenStack Community-wide Goal Tools summary = OpenStack Community-wide Goal Tools
description-file = description_file =
README.rst README.rst
home-page = https://governance.openstack.org/tc/goals/index.html home_page = https://governance.openstack.org/tc/goals/index.html
classifier = classifier =
Development Status :: 5 - Production/Stable Development Status :: 5 - Production/Stable
Intended Audience :: Developers Intended Audience :: Developers