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: I9338c37c2f9a9237eab20741cf4ac5f2e60277af
This commit is contained in:
LiZekun 2022-03-22 20:19:38 +08:00
parent b2b69da971
commit 8c5d1879d3
1 changed files with 2 additions and 2 deletions

View File

@ -1,12 +1,12 @@
[metadata]
name = dib-utils
summary = Pieces of diskimage-builder that are useful without the rest of the project
description-file =
description_file =
README.md
author = HP Cloud Services
author_email = openstack-dev@lists.openstack.org
license: Apache License (2.0)
home-page = https://git.openstack.org/cgit/openstack/dib-utils
home_page = https://git.openstack.org/cgit/openstack/dib-utils
classifier =
Development Status :: 3 - Alpha
License :: OSI Approved :: Apache Software License