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 Also remove the unused sections for translation and doc build. [1] https://github.com/pypa/setuptools/commit/a2e9ae4cb Change-Id: Ie91f09aaaf3375cbfb3a0e764682e729283be2a5
This commit is contained in:
28
setup.cfg
28
setup.cfg
@@ -1,11 +1,11 @@
|
|||||||
[metadata]
|
[metadata]
|
||||||
name = python-scciclient
|
name = python-scciclient
|
||||||
summary = Python ServerView Common Command Interface (SCCI) Client Library
|
summary = Python ServerView Common Command Interface (SCCI) Client Library
|
||||||
description-file =
|
description_file =
|
||||||
README.rst
|
README.rst
|
||||||
author = FUJITSU LIMITED
|
author = FUJITSU LIMITED
|
||||||
author-email = fj-lsoft-scciclient@dl.jp.fujitsu.com
|
author_email = fj-lsoft-scciclient@dl.jp.fujitsu.com
|
||||||
home-page = https://opendev.org/x/python-scciclient
|
home_page = https://opendev.org/x/python-scciclient
|
||||||
classifier =
|
classifier =
|
||||||
Development Status :: 4 - Beta
|
Development Status :: 4 - Beta
|
||||||
Environment :: Console
|
Environment :: Console
|
||||||
@@ -20,25 +20,3 @@ classifier =
|
|||||||
[files]
|
[files]
|
||||||
packages =
|
packages =
|
||||||
scciclient
|
scciclient
|
||||||
|
|
||||||
[build_sphinx]
|
|
||||||
source-dir = doc/source
|
|
||||||
build-dir = doc/build
|
|
||||||
all_files = 1
|
|
||||||
|
|
||||||
[upload_sphinx]
|
|
||||||
upload-dir = doc/build/html
|
|
||||||
|
|
||||||
[compile_catalog]
|
|
||||||
directory = scciclient/locale
|
|
||||||
domain = python-scciclient
|
|
||||||
|
|
||||||
[update_catalog]
|
|
||||||
domain = python-scciclient
|
|
||||||
output_dir = scciclient/locale
|
|
||||||
input_file = scciclient/locale/python-scciclient.pot
|
|
||||||
|
|
||||||
[extract_messages]
|
|
||||||
keywords = _ gettext ngettext l_ lazy_gettext
|
|
||||||
mapping_file = babel.cfg
|
|
||||||
output_file = scciclient/locale/python-scciclient.pot
|
|
||||||
|
Reference in New Issue
Block a user