]> review.fuel-infra Code Review - puppet-modules/puppet-ceilometer.git/commitdiff
setup.cfg: Replace dashes with underscores 19.0.0
authorTakashi Kajinami <tkajinam@redhat.com>
Tue, 11 May 2021 09:25:32 +0000 (18:25 +0900)
committerTakashi Kajinami <tkajinam@redhat.com>
Tue, 11 May 2021 09:25:32 +0000 (18:25 +0900)
Setuptools v54.1.0 introduces a warning that the use of
dash-separated options in 'setup.cfg' will not be supported
in a future version [1].
Get ahead of the issue by replacing the dashes with underscores.
Without this, we see 'UserWarning' messages
like the following on new enough
versions of setuptools:

  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: I0f84b9973598f835e2e2dfe71095ba327b61c087

setup.cfg

index 13a1bb63c00f2de0a3e9ca8d759b69a1ba896a7d..d67c92a52612385a3000debf3909bc05ac6feab8 100644 (file)
--- a/setup.cfg
+++ b/setup.cfg
@@ -1,11 +1,11 @@
 [metadata]
 name = puppet-ceilometer
 summary = Puppet module for OpenStack Ceilometer
-description-file =
+description_file =
     README.md
 author = OpenStack
-author-email = openstack-discuss@lists.openstack.org
-home-page = https://docs.openstack.org/puppet-openstack-guide/latest
+author_email = openstack-discuss@lists.openstack.org
+home_page = https://docs.openstack.org/puppet-openstack-guide/latest
 classifier =
     Intended Audience :: Developers
     Intended Audience :: System Administrators