blob: 85b4f381bba7aeeb2796896d4e80090e2f222988 [file] [log] [blame] [view]
# 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:
```bash
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:
```bash
python-venv/bin/python -m MODULE_NAME [OPTIONS]
```
Windows:
```
python-venv\Scripts\python -m MODULE_NAME [OPTIONS]
```