From 123cd77122a13288e1552b5d9b7c22a6f19e2e02 Mon Sep 17 00:00:00 2001 From: Tom Rini Date: Fri, 25 Jul 2025 09:18:21 -0600 Subject: pylibfdt: setup.py: Drop license_files On more recent versions of setuptools the warning about not being able to find the files specified in license_files has re-appeared. This is because as best I can tell, it can't and won't look in $(srctree) but rather only subdirectories of scripts/dtc/pylibfdt. Since we already provide both SPDX tags and a license field with the SPDX contents, let us just drop license_files as it's not mandatory. Signed-off-by: Tom Rini --- scripts/dtc/pylibfdt/setup.py | 1 - 1 file changed, 1 deletion(-) (limited to 'scripts/dtc/pylibfdt/setup.py') diff --git a/scripts/dtc/pylibfdt/setup.py b/scripts/dtc/pylibfdt/setup.py index 0f7485de9b5..fb2106be0f0 100755 --- a/scripts/dtc/pylibfdt/setup.py +++ b/scripts/dtc/pylibfdt/setup.py @@ -158,7 +158,6 @@ setup( long_description_content_type="text/plain", url="https://git.kernel.org/pub/scm/utils/dtc/dtc.git", license="GPL-2.0-or-later OR BSD-2-Clause", - license_files=["Licenses/gpl-2.0.txt", "Licenses/bsd-2-clause.txt"], classifiers=[ "Programming Language :: Python :: 3", -- cgit v1.2.3