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: Icd54fc860f354787bfd16da7d47e705523305094
This commit is contained in:
YuehuiLei 2021-05-04 16:57:36 +08:00
parent f27a52c5d6
commit d48036ba3e

View File

@ -1,11 +1,11 @@
[metadata] [metadata]
name = vitrage-specs name = vitrage-specs
summary = OpenStack Vitrage Project Development Specs summary = OpenStack Vitrage Project Development Specs
description-file = description_file =
README.rst README.rst
author = OpenStack author = OpenStack
author-email = openstack-discuss@lists.openstack.org author_email = openstack-discuss@lists.openstack.org
home-page = http://specs.openstack.org/openstack/vitrage-specs/ home_page = http://specs.openstack.org/openstack/vitrage-specs/
classifier = classifier =
Intended Audience :: Developers Intended Audience :: Developers
License :: OSI Approved :: Apache Software License License :: OSI Approved :: Apache Software License