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: If80a95e2d8d6b91f150bbdec0e72f37ff1fe974c
This commit is contained in:
niuke 2023-05-25 10:44:51 +08:00
parent 71eaf123b0
commit 021780c99d

View File

@ -25,7 +25,7 @@ author_email = openstack-discuss@lists.openstack.org
home_page = https://launchpad.net/blazar
[global]
setup-hooks = pbr.hooks.setup_hook
setup_hooks = pbr.hooks.setup_hook
[files]
packages =