[PATCH 0/1] u_boot_pylib: disable standalone module detection
Paul HENRYS
paul.henrys_ext at softathome.com
Mon Mar 30 16:33:29 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.
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