summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoryangyawei <yangyawei@inspur.com>2021-05-13 17:48:35 +0800
committerDaniel Bengtsson <dbengt@redhat.com>2022-01-21 10:54:56 +0100
commit09417bf0a30b8e423ba69d6898a039a55fbbfceb (patch)
tree3ce2a2a5f92ccc4ebfa8caeacda91d5ae1f2e83b
parentc718425299af4f4df7b32adb90e8d183e101c6bc (diff)
downloadpbr-09417bf0a30b8e423ba69d6898a039a55fbbfceb.tar.gz
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 updating to canonical configuration[2]. 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 [2] https://setuptools.pypa.io/en/stable/userguide/declarative_config.html Change-Id: I9c51ffdeb548833f2cc303d2e53ba169756690d3
-rw-r--r--setup.cfg17
1 files changed, 9 insertions, 8 deletions
diff --git a/setup.cfg b/setup.cfg
index 97fcfea..5a5160d 100644
--- a/setup.cfg
+++ b/setup.cfg
@@ -1,18 +1,16 @@
[metadata]
name = pbr
author = OpenStack
-author-email = openstack-discuss@lists.openstack.org
-summary = Python Build Reasonableness
-description-file =
- README.rst
-description-content-type = text/x-rst; charset=UTF-8
-home-page = https://docs.openstack.org/pbr/latest/
+author_email = openstack-discuss@lists.openstack.org
+description = Python Build Reasonableness
+long_description = file: README.rst
+long_description_content_type = text/x-rst; charset=UTF-8
+url = https://docs.openstack.org/pbr/latest/
project_urls =
Bug Tracker = https://bugs.launchpad.net/pbr/
Documentation = https://docs.openstack.org/pbr/
Source Code = https://opendev.org/openstack/pbr
-python-requires = >=2.6
-classifier =
+classifiers =
Development Status :: 5 - Production/Stable
Environment :: Console
Environment :: OpenStack
@@ -28,6 +26,9 @@ classifier =
Programming Language :: Python :: 3.6
Programming Language :: Python :: 3.7
+[options]
+python_requires = >=2.6
+
[files]
packages =
pbr