setup.cfg: Replace dashes with underscores

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: Ie7265335480848753e0576052db8754c4c25a517
This commit is contained in:
Takashi Kajinami 2022-08-05 01:33:49 +09:00
parent 10460e0c14
commit 3c454c4167

View File

@ -1,11 +1,11 @@
[metadata]
name = packstack
summary = A utility to install OpenStack
description-file = README.rst
description_file = README.rst
long_description_content_type = text/x-rst
author = RDO
author-email = rdo-list@redhat.com
home-page = http://www.rdoproject.org/
author_email = rdo-list@redhat.com
home_page = http://www.rdoproject.org/
python_requires = >=3.6
classifier =
Environment :: OpenStack