summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYuehuiLei <leiyuehui@inspur.com>2021-05-04 10:43:34 +0800
committerYuehuiLei <leiyuehui@inspur.com>2021-05-04 10:44:43 +0800
commitd4b189682ca2239abb23ab7b8ce33a5dbd9ffc42 (patch)
tree493d1817fd79d1c0d2488218696c8907d5e9c860
parent36d743165e5c1887c690c3f1ae975fb0068ffdf2 (diff)
downloadoslotest-d4b189682ca2239abb23ab7b8ce33a5dbd9ffc42.tar.gz
setup.cfg: Replace dashes with underscores4.5.0
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: Id0c81ac91849d1d8dc661df73fe96d16d28b783a
-rw-r--r--setup.cfg8
1 files changed, 4 insertions, 4 deletions
diff --git a/setup.cfg b/setup.cfg
index ba92c58..e7d8de9 100644
--- a/setup.cfg
+++ b/setup.cfg
@@ -1,12 +1,12 @@
[metadata]
name = oslotest
summary = Oslo test framework
-description-file =
+description_file =
README.rst
author = OpenStack
-author-email = openstack-discuss@lists.openstack.org
-home-page = https://docs.openstack.org/oslotest/latest/
-python-requires = >=3.6
+author_email = openstack-discuss@lists.openstack.org
+home_page = https://docs.openstack.org/oslotest/latest/
+python_requires = >=3.6
classifier =
Environment :: OpenStack
Intended Audience :: Developers