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: I08c7cfa28cffe1d82889c9133ec33a8a2e4b560e
This commit is contained in:
LiZekun 2022-03-22 19:52:19 +08:00 committed by Dale Smith
parent 8d9cdb6e8e
commit af317c37ad

View File

@ -1,11 +1,11 @@
[metadata]
name = python-adjutant
author = OpenStack
author-email = openstack-discuss@lists.openstack.org
author_email = openstack-discuss@lists.openstack.org
summary = An admin task workflow service for openstack.
description-file = package_readme.rst
description-content-type = text/x-rst; charset=UTF-8
home-page = https://opendev.org/openstack/adjutant
description_file = package_readme.rst
description_content_type = text/x-rst; charset=UTF-8
home_page = https://opendev.org/openstack/adjutant
project_urls =
Bug Tracker = https://storyboard.openstack.org/#!/project/openstack/adjutant
Documentation = https://docs.openstack.org/adjutant/latest/