From: Tom Rini Date: Fri, 25 Jul 2025 15:18:21 +0000 (-0600) Subject: pylibfdt: setup.py: Drop license_files X-Git-Tag: v2025.10-rc2~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=123cd77122a13288e1552b5d9b7c22a6f19e2e02;p=pandora-u-boot.git 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 --- 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",