[PATCH 1/1] tools: u_boot_pylib: disable standalone module detection

Paul HENRYS paul.henrys_ext at softathome.com
Mon Mar 30 16:33:30 CEST 2026


Do not try to detect standalone python modules at the top level, so setuptools
stops searching for: command, terminal, ... as independent modules and instead
relies on package discovery.

Signed-off-by: Paul HENRYS <paul.henrys_ext at softathome.com>
---
 tools/u_boot_pylib/pyproject.toml | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/tools/u_boot_pylib/pyproject.toml b/tools/u_boot_pylib/pyproject.toml
index a860d134551..22b364583a0 100644
--- a/tools/u_boot_pylib/pyproject.toml
+++ b/tools/u_boot_pylib/pyproject.toml
@@ -21,5 +21,8 @@ classifiers = [
 "Homepage" = "https://docs.u-boot.org"
 "Bug Tracker" = "https://source.denx.de/groups/u-boot/-/issues"
 
+[tool.setuptools]
+py-modules = []
+
 [tool.setuptools.package-data]
 u_boot_pylib = ["*.rst"]
-- 
2.43.0



More information about the U-Boot mailing list