]> git.ipfire.org Git - thirdparty/u-boot.git/commitdiff
pylibfdt: setup.py: Drop license_files
authorTom Rini <trini@konsulko.com>
Fri, 25 Jul 2025 15:18:21 +0000 (09:18 -0600)
committerTom Rini <trini@konsulko.com>
Thu, 7 Aug 2025 17:16:12 +0000 (11:16 -0600)
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@konsulko.com>
scripts/dtc/pylibfdt/setup.py

index 0f7485de9b50ba9ab9d2756f6588377de2722467..fb2106be0f074afba5db659095e57d053b4df825 100755 (executable)
@@ -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",