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: I35db22f4413dcc2809d1ef892bd08006fe757446
This commit is contained in:
liyou01 2021-04-27 17:06:32 +08:00
parent 5e0cf73a7c
commit 15a0d77ad5
1 changed files with 3 additions and 3 deletions

View File

@ -1,11 +1,11 @@
[metadata] [metadata]
name = tripleo-specs name = tripleo-specs
summary = TripleO specs repository summary = TripleO specs repository
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 = https://specs.openstack.org/openstack/tripleo-specs/ home_page = https://specs.openstack.org/openstack/tripleo-specs/
classifier = classifier =
Intended Audience :: Developers Intended Audience :: Developers
License :: OSI Approved :: Apache Software License License :: OSI Approved :: Apache Software License