summaryrefslogtreecommitdiff
path: root/setup.cfg
diff options
context:
space:
mode:
authorArthur Zamarin <arthurzam@gmail.com>2021-10-31 09:08:26 +0200
committerGitHub <noreply@github.com>2021-10-31 15:08:26 +0800
commitea90b55c84ec25fcd725fe42573e93be5497158e (patch)
tree413d1ad1cafe8abe58ec634a36858343c3a350ce /setup.cfg
parent871e7d5bac4c21f95f756374bc50c2accca1fed5 (diff)
downloadpyopenssl-ea90b55c84ec25fcd725fe42573e93be5497158e.tar.gz
setup.cfg: Replace dashes with underscores (#1057)
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 'build-requires' will not be supported in future versions. Please use the underscore name 'build_requires' instead UserWarning: Usage of dash-separated 'doc-files' will not be supported in future versions. Please use the underscore name 'doc_files' instead [1] https://github.com/pypa/setuptools/commit/a2e9ae4cb Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
Diffstat (limited to 'setup.cfg')
-rw-r--r--setup.cfg4
1 files changed, 2 insertions, 2 deletions
diff --git a/setup.cfg b/setup.cfg
index 138d91c..8be86d7 100644
--- a/setup.cfg
+++ b/setup.cfg
@@ -15,7 +15,7 @@ license_file = LICENSE
# This is currently *not* actively tested.
[bdist_rpm]
release = 1
-build-requires = openssl-devel python-devel python-sphinx
+build_requires = openssl-devel python-devel python-sphinx
group = Development/Libraries
build_script = rpm/build_script
-doc-files = doc/_build/html
+doc_files = doc/_build/html