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: I0c8e6a3a474a5cfa029b741b1a26b7d48d244206
This commit is contained in:
Takashi Kajinami 2022-02-06 01:42:08 +09:00
parent bff3d5f6e3
commit 30b9a0853c

View File

@ -1,10 +1,10 @@
[metadata] [metadata]
name = designate-ext-samplehandler name = designate-ext-samplehandler
summary = Sample Designate Handler Extension summary = Sample Designate Handler Extension
description-file = description_file =
README.rst README.rst
author = Kiall Mac Innes author = Kiall Mac Innes
author-email = kiall@hp.com author_email = kiall@hp.com
classifier = classifier =
Environment :: OpenStack Environment :: OpenStack
Intended Audience :: Information Technology Intended Audience :: Information Technology