From 875d6ded6a06bbb4cc312e51f59e19158a4caef4 Mon Sep 17 00:00:00 2001
From: Ivan Anfimov <lazekteam@gmail.com>
Date: Sun, 30 Mar 2025 22:28:08 +0000
Subject: [PATCH] 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
---
 setup.cfg | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/setup.cfg b/setup.cfg
index 8ee553c37..2d8f3cdb8 100644
--- a/setup.cfg
+++ b/setup.cfg
@@ -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 =