]> git.ipfire.org Git - thirdparty/u-boot.git/commitdiff
tools: u_boot_pylib: ensure all Python modules are installed
authorPaul HENRYS <paul.henrys_ext@softathome.com>
Tue, 31 Mar 2026 08:06:36 +0000 (10:06 +0200)
committerTom Rini <trini@konsulko.com>
Thu, 9 Apr 2026 18:17:28 +0000 (12:17 -0600)
Add setuptools package configuration to pyproject.toml so that
u_boot_pylib is installed as a proper Python package without changing
the existing flat directory structure and making sure all modules are
installed.

Signed-off-by: Paul HENRYS <paul.henrys_ext@softathome.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
tools/u_boot_pylib/pyproject.toml

index a860d1345513902dbe336b47747c6c0d0745a4d3..ed04d956b4e61ced2fdf632e9468ecbba221d52f 100644 (file)
@@ -21,5 +21,11 @@ classifiers = [
 "Homepage" = "https://docs.u-boot.org"
 "Bug Tracker" = "https://source.denx.de/groups/u-boot/-/issues"
 
+[tool.setuptools]
+packages = ["u_boot_pylib"]
+
+[tool.setuptools.package-dir]
+u_boot_pylib = ""
+
 [tool.setuptools.package-data]
 u_boot_pylib = ["*.rst"]