u-boot/tools/u_boot_pylib
Tom Rini efd00b0345 python: Use and refer to the venv module rather than virtualenv
Using some form of sandbox with Python modules is a long standing best
practice with the language. There are a number of ways to have a Python
sandbox be created. At this point in time, it seems the Python community
is moving towards using the "venv" module provided with Python rather
than a separate tool. To match that we make the following changes:

- Refer to a "Python sandbox" rather than virtualenv in comments, etc.
- Install the python3-venv module in our container and not virtualenv.
- In our CI files, invoke "python -m venv" rather than "virtualenv".
- In documentation, tell users to install python3-venv and not
  virtualenv.

Signed-off-by: Tom Rini <trini@konsulko.com>
2025-04-24 15:37:27 -06:00
..
__init__.py u_boot_pylib: Move gitutil into the library 2025-02-17 11:17:55 -06:00
__main__.py u_boot_pylib: Move gitutil into the library 2025-02-17 11:17:55 -06:00
command.py u_boot_pylib: Add a function to run a single command 2025-03-04 13:31:49 -06:00
cros_subprocess.py
gitutil.py patman: Show the base commit and branch 2025-04-10 11:57:49 -06:00
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
requirements.txt python: Create requirements.txt files for each "project" 2025-02-14 17:11:35 -06:00
terminal.py buildman: Add a way to limit the number of buildmans 2024-07-03 07:36:33 +01:00
test_util.py python: Use and refer to the venv module rather than virtualenv 2025-04-24 15:37:27 -06:00
tools.py u_boot_pylib: Add a function to run a single command 2025-03-04 13:31:49 -06:00
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]