python3: fix virtual environment path in EXTERNALLY-MANAGED msg

This commit is contained in:
Eloi Torrents 2023-12-30 20:57:35 +01:00 committed by classabbyamp
parent b83e6ae129
commit df5dd49418
2 changed files with 3 additions and 3 deletions

View file

@ -8,7 +8,7 @@ Error=
environment, e.g.: environment, e.g.:
python3 -m venv /path/to/venv python3 -m venv /path/to/venv
/path/to/venv/pip install <package> /path/to/venv/bin/pip install <package>
Appending the flag --system-site-packages to the first command will give the Appending the flag --system-site-packages to the first command will give the
virtual environment access to any Python package installed via XBPS. virtual environment access to any Python package installed via XBPS.
@ -17,7 +17,7 @@ Error=
should automatically use the virtual environment. Alternatively, source its should automatically use the virtual environment. Alternatively, source its
activation script to add the environment to the command search path for a shell: activation script to add the environment to the command search path for a shell:
. /path/to/venv/activate . /path/to/venv/bin/activate
After activation, running After activation, running

View file

@ -4,7 +4,7 @@
# #
pkgname=python3 pkgname=python3
version=3.12.2 version=3.12.2
revision=1 revision=2
build_style="gnu-configure" build_style="gnu-configure"
configure_args="--enable-shared --enable-ipv6 --enable-optimizations configure_args="--enable-shared --enable-ipv6 --enable-optimizations
--enable-loadable-sqlite-extensions --with-computed-gotos --enable-loadable-sqlite-extensions --with-computed-gotos