mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
dev-python/gentoo-common: add 1, drop 0
Add info on exiting and re-entering the venv. Signed-off-by: Oskari Pirhonen <xxc3ncoredxx@gmail.com> Closes: https://github.com/gentoo/gentoo/pull/29336 Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
committed by
Sam James
parent
531513e03f
commit
c4f1c9917b
@@ -26,5 +26,12 @@ src_install() {
|
||||
python -m venv /path/to/venv
|
||||
. /path/to/venv/bin/activate
|
||||
pip install mypackage
|
||||
|
||||
To exit the virtual environment, run:
|
||||
|
||||
deactivate
|
||||
|
||||
The virtual environment is not deleted, and can be re-entered by
|
||||
re-sourcing the activate file.
|
||||
EOF
|
||||
}
|
||||
Reference in New Issue
Block a user