summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorManuel Jacob <me@manueljacob.de>2023-02-23 05:18:27 +0100
committerManuel Jacob <me@manueljacob.de>2023-02-23 05:18:27 +0100
commitc5c598b5fa2d5ab7413f228af3d78a1a3d3526fe (patch)
treea4b9a5103fc574d33c8886d1e5843353da936519
parent5bc61e0b7b191432c9f5bfb8139378c0d9ac8061 (diff)
downloadcffi-c5c598b5fa2d5ab7413f228af3d78a1a3d3526fe.tar.gz
Use license_files instead of license_file in setup.cfg [metadata] section.
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.
-rw-r--r--setup.cfg2
1 files changed, 1 insertions, 1 deletions
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