[PATCH v2 0/1] tools: u_boot_pylib: ensure all Python modules are installed
Tom Rini
trini at konsulko.com
Thu Apr 9 20:18:39 CEST 2026
On Tue, 31 Mar 2026 10:06:35 +0200, Paul HENRYS wrote:
> 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.
>
> Step 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'].
>
> [...]
Applied to u-boot/master, thanks!
[1/1] tools: u_boot_pylib: ensure all Python modules are installed
commit: 2b9828c8024617f14e13ad6bf7d474552d880240
--
Tom
More information about the U-Boot
mailing list