tree: 4e91d890751f8262132033a706c5ea653576c371 [path history] [tgz]
  1. README.md
  2. setup.bat
  3. setup.sh
pw_build/python_dist/README.md

Python Distributables

Setup and usage instructions for Pigweed Python distributables.

Prerequisites

Python distributables require Python 3.7 or later.

Setup

Run the included setup script found inside the unzipped directory.

Linux / MacOS:

setup.sh

Windows:

setup.bat

The setup script will create a virtual environment called python-venv.

Usage

Once setup is complete, the Python tools can be invoked as runnable modules:

Linux/MacOS:

python-venv/bin/python -m MODULE_NAME [OPTIONS]

Windows:

python-venv\Scripts\python -m MODULE_NAME [OPTIONS]