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: I269d1bbd5e248d22b3caa21b84ba7e41cc3b6667
This commit is contained in:
liyou01 2021-04-27 15:46:36 +08:00
parent 6f451e66dd
commit 898db61035

View File

@ -1,11 +1,11 @@
[metadata]
name = tripleo-upgrade
summary = tripleo-upgrade - An ansible role for upgrade and update a TripleO deployment
description-file =
description_file =
README.rst
author = TripleO Team
author-email = openstack-discuss@lists.openstack.org
home-page = https://opendev.org/openstack/tripleo-upgrade
author_email = openstack-discuss@lists.openstack.org
home_page = https://opendev.org/openstack/tripleo-upgrade
classifier =
License :: OSI Approved :: Apache Software License
Development Status :: 4 - Beta