Skip to content

Commit 97de837

Browse files
committed
change: remove two setuptools deprecations
Remove the following deprecations: ``` /home/jjerphan/.local/share/mambaforge/envs/sdk/lib/python3.11/site-packages/setuptools/dist.py:498: SetuptoolsDeprecationWarning: Invalid dash-separated options !! ******************************************************************************** Usage of dash-separated 'description-file' will not be supported in future versions. Please use the underscore name 'description_file' instead. This deprecation is overdue, please update your project and remove deprecated calls to avoid build errors in the future. See https://setuptools.pypa.io/en/latest/userguide/declarative_config.html for details. ******************************************************************************** !! opt = self.warn_dash_deprecation(opt, section) /home/jjerphan/.local/share/mambaforge/envs/sdk/lib/python3.11/site-packages/setuptools/config/setupcfg.py:293: _DeprecatedConfig: Deprecated config in `setup.cfg` !! ******************************************************************************** The license_file parameter is deprecated, use license_files instead. By 2023-Oct-30, you need to update your project and remove deprecated calls or your builds will no longer be supported. See https://setuptools.pypa.io/en/latest/userguide/declarative_config.html for details. ******************************************************************************** !! parsed = self.parsers.get(option_name, lambda x: x)(value) running develop ``` Signed-off-by: Julien Jerphanion <[email protected]>
1 parent ea60a2d commit 97de837

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
@@ -8,8 +8,8 @@ testpaths = tests
88
test=pytest
99

1010
[metadata]
11-
description-file = README.rst
12-
license_file = LICENSE.txt
11+
description_file = README.rst
12+
license_files = LICENSE.txt
1313

1414
[wheel]
1515
universal = 1

0 commit comments

Comments
 (0)