Browse Source

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: I48d280192d3713e09571842d5515da2dcc637d08
changes/88/789688/1
YuehuiLei 1 month ago
parent
commit
661bb85b78
1 changed files with 4 additions and 4 deletions
  1. +4
    -4
      setup.cfg

+ 4
- 4
setup.cfg View File

@ -1,12 +1,12 @@
[metadata]
name = diskimage-builder
summary = Golden Disk Image builder.
description-file =
description_file =
README.rst
author = OpenStack
author-email = openstack-discuss@lists.openstack.org
author_email = openstack-discuss@lists.openstack.org
license: Apache License (2.0)
home-page = https://docs.openstack.org/diskimage-builder/latest/
home_page = https://docs.openstack.org/diskimage-builder/latest/
classifier =
Development Status :: 5 - Production/Stable
License :: OSI Approved :: Apache Software License
@ -17,7 +17,7 @@ classifier =
Programming Language :: Python :: 3.7
Programming Language :: Python :: 3.8
Environment :: Console
python-requires = >=3.5
python_requires = >=3.5
[files]
packages =


Loading…
Cancel
Save