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: Id3130f4f98cf934f67caa78573a501aa978cdebf
This commit is contained in:
jiangzhilin 2021-05-04 17:31:59 +08:00 committed by 江治林
parent 0cddde0d77
commit ab162177fa
1 changed files with 3 additions and 3 deletions

View File

@ -1,7 +1,7 @@
[metadata]
name = arch_wg
summary = OpenStack Architecture WG resources, documents and investigations
description-file =
description_file =
README.rst
author = OpenStack
classifier =
@ -16,5 +16,5 @@ packages =
[build_sphinx]
all_files = 1
build-dir = doc/build
source-dir = doc/source
build_dir = doc/build
source_dir = doc/source