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: Idc2841a26f59dc0ba6bf8a24116f5dbcbb059a74
This commit is contained in:
leiyuehui 2022-06-04 15:29:20 +08:00 committed by Lucian Petrut
parent 87af7e0351
commit 2cb1819240
1 changed files with 3 additions and 3 deletions

View File

@ -1,11 +1,11 @@
[metadata]
name = oswin-tempest-plugin
summary = This project contains Tempest tests to cover the os_win project, as well as a plugin to automatically load these tests into Tempest.
description-file =
description_file =
README.rst
author = Cloudbase Solutions
author-email = info@cloudbasesolutions.com
home-page = https://opendev.org/openstack/oswin-tempest-plugin
author_email = info@cloudbasesolutions.com
home_page = https://opendev.org/openstack/oswin-tempest-plugin
python_requires = >=3.8
classifier =
Environment :: OpenStack