python-oauthlib/backport-Update-setup.cfg-to-use-license_files-839.patch
wuzhaomin 088b18718d Bakport commits from upstream
(cherry picked from commit 93b1e8132aff8910ab88dbc7103802f545b7d795)
2024-07-08 11:14:56 +08:00

27 lines
639 B
Diff

From 541297b344944d13c77f4ea0356b83bb3b381dba Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= <mgorny@gentoo.org>
Date: Tue, 18 Oct 2022 09:43:17 +0200
Subject: [PATCH] Update setup.cfg to use license_files (#839)
Fixes the following warning:
> The license_file parameter is deprecated, use license_files instead.
---
setup.cfg | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/setup.cfg b/setup.cfg
index ca59291..286d6cb 100644
--- a/setup.cfg
+++ b/setup.cfg
@@ -1,5 +1,5 @@
[metadata]
-license_file = LICENSE
+license_files = LICENSE
[isort]
combine_as_imports = true
--
2.9.3.windows.1