[PATCH] pylibfdt: setup.py: Drop license_files
Tom Rini
trini at konsulko.com
Fri Jul 25 17:18:21 CEST 2025
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 <trini at konsulko.com>
---
Cc: Heinrich Schuchardt <xypron.glpk at gmx.de>
Cc: Quentin Schulz <quentin.schulz at cherry.de>
Cc: Bryan Brattlof <bb at ti.com>
---
scripts/dtc/pylibfdt/setup.py | 1 -
1 file changed, 1 deletion(-)
diff --git a/scripts/dtc/pylibfdt/setup.py b/scripts/dtc/pylibfdt/setup.py
index 0f7485de9b50..fb2106be0f07 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",
--
2.43.0
More information about the U-Boot
mailing list