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
commit331962490b7277462f8c8c8840932c7ffded63ac (patch)
treea4b9a5103fc574d33c8886d1e5843353da936519
parent3fd9421af1097ff3e9c949fe73cbe31781e54ba6 (diff)
downloadcffi-license_files.tar.gz
Use license_files instead of license_file in setup.cfg [metadata] section.license_files
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