tools: u_boot_pylib: ensure all Python modules are installed

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>
This commit is contained in:
Paul HENRYS
2026-04-09 12:17:28 -06:00
committed by Tom Rini
parent ca17943235
commit 2a1bcefce8
+6
View 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"]