u-boot/tools/u_boot_pylib
Simon Glass 0318126236 u_boot_pylib: Use correct coverage tool within venv
When running within a Python venv we must use the 'coverage' tool (which
is within the venv) so that the venv packages are used in preference to
system packages. Otherwise the coverage tests run in a different
environment from the normal tests and may fail due to missing packages.

Handle this by detecting the venv and changing the tool name.

Signed-off-by: Simon Glass <sjg@chromium.org>
2024-07-03 07:36:33 +01:00
..
__init__.py
__main__.py
command.py u_boot_pylib: Ensure subprocess is closed down 2023-11-02 22:38:01 -04:00
cros_subprocess.py
LICENSE patman: Add support for building a u_boot_tools PyPi package 2023-03-08 11:40:49 -08:00
pyproject.toml tools: Move python tools to version 0.0.6 2023-12-13 18:39:06 -05:00
README.rst u_boot_pylib: Correct readme formatting 2023-12-13 18:39:05 -05:00
terminal.py buildman: Add a way to limit the number of buildmans 2024-07-03 07:36:33 +01:00
test_util.py u_boot_pylib: Use correct coverage tool within venv 2024-07-03 07:36:33 +01:00
tools.py
tout.py
u_boot_pylib

.. SPDX-License-Identifier: GPL-2.0+

# U-Boot Python Library
=======================

This is a Python library used by various U-Boot tools, including patman,
buildman and binman.

The module can be installed with pip::

   pip install u_boot_pylib

or via setup.py::

   ./setup.py install [--user]