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: I8e74a56b2cdcd7afc0ca3d6e2fb10d7379122780
This commit is contained in:
Ivan Anfimov 2025-03-30 22:28:08 +00:00
parent f33de2186e
commit 875d6ded6a

View File

@ -1,11 +1,11 @@
[metadata]
name = stackalytics
summary = OpenStack Contribution Dashboard
description-file = README.rst
description-content-type = text/x-rst
description_file = README.rst
description_content_type = text/x-rst
author = OpenStack
author-email = openstack-discuss@lists.openstack.org
home-page = https://www.openstack.org/
author_email = openstack-discuss@lists.openstack.org
home_page = https://www.openstack.org/
python_requires = >=3.8
classifier =
Environment :: OpenStack
@ -31,8 +31,8 @@ data_files =
[build_sphinx]
all_files = 1
build-dir = doc/build
source-dir = doc/source
build_dir = doc/build
source_dir = doc/source
[entry_points]
console_scripts =