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 =