From c5c598b5fa2d5ab7413f228af3d78a1a3d3526fe Mon Sep 17 00:00:00 2001 From: Manuel Jacob Date: Thu, 23 Feb 2023 05:18:27 +0100 Subject: Use license_files instead of license_file in setup.cfg [metadata] section. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit When using license_file, setuptools prints a warning: “setuptools._deprecation_warning.SetuptoolsDeprecationWarning: The license_file parameter is deprecated, use license_files instead.”. The license_files key was introduced in “wheel” package Git commit 59976ab294e1b118f42cab404d95df66ed55f7e4 from 2018-07-16. The disadvantage of this change is that when using wheel < 0.32.0, the resulting wheel will not contain the license file in its .dist-info directory. --- setup.cfg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'setup.cfg') diff --git a/setup.cfg b/setup.cfg index d079c9a..5ebafa5 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,5 +1,5 @@ [metadata] -license_file = LICENSE +license_files = LICENSE project_urls = Documentation = http://cffi.readthedocs.org/ Source Code = https://foss.heptapod.net/pypy/cffi -- cgit v1.2.1