2fa5f5aa64
debugging tips.
18 lines
533 B
Plaintext
18 lines
533 B
Plaintext
Installing into private directory
|
|
=================================
|
|
|
|
1. Create a venv and include the system-site packages:
|
|
`python3 -m venv venv --system-site-packages`
|
|
2. Active that venv: `. venv/bin/activate`
|
|
3. Install an editable package: `pip install --no-deps -e .`
|
|
|
|
This will use the system packages already installed.
|
|
|
|
Alternatively you can install withoout the system-site-packages:
|
|
|
|
python3 -m venv venv
|
|
. venv/bin/activate
|
|
pip install -e .
|
|
|
|
This will download newer packages and install them in the venv.
|