setup.cfg: Replace dashes by underscores

Since setuptools v54.1.0[1], the parmeters with dash have been
deprecated in favor of the new parameters with underscore.

This change updates the parameters accordingly to avoid the warnings
like the example below.

  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: Icc883498d6188f99dd02345880a2c7e7b36902c9
This commit is contained in:
Takashi Kajinami 2022-06-22 03:16:10 +09:00
parent 53ea35f467
commit 992d994734

View File

@ -1,12 +1,12 @@
[metadata] [metadata]
name = heat-cfntools name = heat-cfntools
summary = Tools required to be installed on Heat provisioned cloud instances summary = Tools required to be installed on Heat provisioned cloud instances
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://docs.openstack.org/heat-cfntools/latest/ home_page = https://docs.openstack.org/heat-cfntools/latest/
python-requires = >=3.6 python_requires = >=3.6
classifier = classifier =
Environment :: OpenStack Environment :: OpenStack
Intended Audience :: Information Technology Intended Audience :: Information Technology