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: Id43f253899b5af1f40a41d7fff1f78c316b31367
This commit is contained in:
Takashi Kajinami 2022-02-06 01:49:31 +09:00
parent 9e827f7781
commit bad107ef79
1 changed files with 4 additions and 4 deletions

View File

@ -1,11 +1,11 @@
[metadata]
name = keystonemiddleware
summary = Middleware for OpenStack Identity
description-file =
description_file =
README.rst
author = OpenStack
author-email = openstack-discuss@lists.openstack.org
home-page = https://docs.openstack.org/keystonemiddleware/latest/
author_email = openstack-discuss@lists.openstack.org
home_page = https://docs.openstack.org/keystonemiddleware/latest/
python_requires = >=3.8
classifier =
Environment :: OpenStack
@ -28,7 +28,7 @@ audit_notifications =
oslo.messaging>=5.29.0 # Apache-2.0
[global]
setup-hooks =
setup_hooks =
pbr.hooks.setup_hook
[entry_points]