From 7b6078722ed414e916ea8fc0269473e91e6f149c Mon Sep 17 00:00:00 2001 From: Eloi Torrents Date: Thu, 9 Nov 2023 16:56:40 +0100 Subject: [PATCH] Fix path virtual environment message --- srcpkgs/python3.11/files/EXTERNALLY-MANAGED | 4 ++-- srcpkgs/python3.11/template | 2 +- srcpkgs/python3/files/EXTERNALLY-MANAGED | 4 ++-- srcpkgs/python3/template | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/srcpkgs/python3.11/files/EXTERNALLY-MANAGED b/srcpkgs/python3.11/files/EXTERNALLY-MANAGED index 22743f8d51db5..9fc7da0973404 100644 --- a/srcpkgs/python3.11/files/EXTERNALLY-MANAGED +++ b/srcpkgs/python3.11/files/EXTERNALLY-MANAGED @@ -8,7 +8,7 @@ Error= environment, e.g.: python3 -m venv /path/to/venv - /path/to/venv/pip install + /path/to/venv/bin/pip install Appending the flag --system-site-packages to the first command will give the virtual environment access to any Python package installed via XBPS. @@ -17,7 +17,7 @@ Error= should automatically use the virtual environment. Alternatively, source its 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 diff --git a/srcpkgs/python3.11/template b/srcpkgs/python3.11/template index b384398c17520..cb6eec8a0c774 100644 --- a/srcpkgs/python3.11/template +++ b/srcpkgs/python3.11/template @@ -1,7 +1,7 @@ # Template file for 'python3.11' pkgname=python3.11 version=3.11.6 -revision=1 +revision=2 build_style="gnu-configure" configure_args="--enable-shared --enable-ipv6 --enable-optimizations --enable-loadable-sqlite-extensions --with-computed-gotos diff --git a/srcpkgs/python3/files/EXTERNALLY-MANAGED b/srcpkgs/python3/files/EXTERNALLY-MANAGED index 22743f8d51db5..9fc7da0973404 100644 --- a/srcpkgs/python3/files/EXTERNALLY-MANAGED +++ b/srcpkgs/python3/files/EXTERNALLY-MANAGED @@ -8,7 +8,7 @@ Error= environment, e.g.: python3 -m venv /path/to/venv - /path/to/venv/pip install + /path/to/venv/bin/pip install Appending the flag --system-site-packages to the first command will give the virtual environment access to any Python package installed via XBPS. @@ -17,7 +17,7 @@ Error= should automatically use the virtual environment. Alternatively, source its 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 diff --git a/srcpkgs/python3/template b/srcpkgs/python3/template index 970eb5dbf96a4..0c163dd500b55 100644 --- a/srcpkgs/python3/template +++ b/srcpkgs/python3/template @@ -4,7 +4,7 @@ # pkgname=python3 version=3.12.0 -revision=1 +revision=2 build_style="gnu-configure" configure_args="--enable-shared --enable-ipv6 --enable-optimizations --enable-loadable-sqlite-extensions --with-computed-gotos