summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlikui <likui@yovole.com>2021-09-02 19:58:19 +0800
committerlikui <likui@yovole.com>2021-09-02 19:58:19 +0800
commit0c0b7456e9c3a7a2ab36e48da2f07c1231e19f0e (patch)
treebfa9eb54d65b2e49241b0695aac6bd39af59bbef
parentee29107bcf116fa050fe720988ac6711c18ea931 (diff)
downloadoslo-config-0c0b7456e9c3a7a2ab36e48da2f07c1231e19f0e.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 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: Iceaa69d80eef75db5bac67463a59fd615ae0e895
-rw-r--r--setup.cfg2
1 files changed, 1 insertions, 1 deletions
diff --git a/setup.cfg b/setup.cfg
index 9118867..1109fcb 100644
--- a/setup.cfg
+++ b/setup.cfg
@@ -6,7 +6,7 @@ description_file =
author = OpenStack
author_email = openstack-discuss@lists.openstack.org
home_page = https://docs.openstack.org/oslo.config/latest/
-python-requires = >=3.6
+python_requires = >=3.6
classifier =
Development Status :: 5 - Production/Stable
Environment :: OpenStack