Document how to use venv to build
This commit is contained in:
@ -14,6 +14,11 @@ This program expects Python3 and PIP to be installed. It's known to work on Debi
|
||||
Bookworm, as well as on Ubuntu Focal, Jammy and Noble.
|
||||
|
||||
```
|
||||
|
||||
## Start a Virtual Environment
|
||||
python3 -m venv .venv
|
||||
source .venv/bin/activate
|
||||
|
||||
## Install python build dependencies
|
||||
$ make install-deps
|
||||
|
||||
@ -23,6 +28,9 @@ $ make test
|
||||
## Build vppcfg
|
||||
$ make build
|
||||
|
||||
## Exit the virtual environment
|
||||
$ deactivate
|
||||
|
||||
## Install the tool with PIP
|
||||
$ make install
|
||||
```
|
||||
|
Reference in New Issue
Block a user