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 <[email protected]> --- 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

