[PATCH 0/1] u_boot_pylib: disable standalone module detection
Simon Glass
sjg at chromium.org
Fri Apr 3 15:18:52 CEST 2026
Hi Paul,
Can you please send this to the mailing list too?
Regards,
Simon
On Mon, 30 Mar 2026 at 08:19, Paul HENRYS
<paul.henrys_ext at softathome.com> wrote:
>
> 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.
>
> Steps to reproduce the issue without the patch:
>
> git clone https://source.denx.de/u-boot/u-boot.git
> cd u-boot
> python3 -m venv myenv
> source myenv/bin/activate
> pip3 install tools/u_boot_pylib/
> ...
> error: Multiple top-level modules discovered in a flat-layout: ['command', 'terminal', 'test_util', 'tout', 'cros_subprocess', 'tools', 'gitutil'].
>
> Paul HENRYS:
> tools: u_boot_pylib: disable standalone module detection
>
> tools/u_boot_pylib/pyproject.toml | 3 +++
> 1 file changed, 3 insertions(+)
>
> --
> 2.43.0
>
More information about the U-Boot
mailing list