summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorPaul HENRYS <[email protected]>2026-03-31 10:06:36 +0200
committerTom Rini <[email protected]>2026-04-09 12:17:28 -0600
commit2a1bcefce835b827bbf88a9e112d646c5c4af9c1 (patch)
treed0b17266d1df4763994ae7cedbde1c073b525c7e /tools
parentca179432354a41bb055d862fc896f5572c09370b (diff)
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 <[email protected]> Reviewed-by: Simon Glass <[email protected]>
Diffstat (limited to 'tools')
-rw-r--r--tools/u_boot_pylib/pyproject.toml6
1 files changed, 6 insertions, 0 deletions
diff --git a/tools/u_boot_pylib/pyproject.toml b/tools/u_boot_pylib/pyproject.toml
index a860d134551..ed04d956b4e 100644
--- a/tools/u_boot_pylib/pyproject.toml
+++ b/tools/u_boot_pylib/pyproject.toml
@@ -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"]