Skip to content

Commit ea90b55

Browse files
authored
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] pypa/setuptools@a2e9ae4cb Signed-off-by: Arthur Zamarin <[email protected]>
1 parent 871e7d5 commit ea90b55

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

setup.cfg

+2-2
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ license_file = LICENSE
1515
# This is currently *not* actively tested.
1616
[bdist_rpm]
1717
release = 1
18-
build-requires = openssl-devel python-devel python-sphinx
18+
build_requires = openssl-devel python-devel python-sphinx
1919
group = Development/Libraries
2020
build_script = rpm/build_script
21-
doc-files = doc/_build/html
21+
doc_files = doc/_build/html

0 commit comments

Comments
 (0)