[PATCH v2 0/1] tools: u_boot_pylib: ensure all Python modules are installed
Paul HENRYS
paul.henrys_ext at softathome.com
Tue Mar 31 10:06:35 CEST 2026
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'].
Paul HENRYS:
tools: u_boot_pylib: ensure all Python modules are installed
tools/u_boot_pylib/pyproject.toml | 6 ++++++
1 file changed, 6 insertions(+)
--
2.43.0
More information about the U-Boot
mailing list