From a90627ff95f7b6a11bb0aa2969c678ea50ab498f Mon Sep 17 00:00:00 2001 From: LaosLos Date: Sun, 13 Oct 2024 15:39:12 +0200 Subject: [PATCH 1/3] Update mkvirtualenv help to document -p/--python option --- virtualenvwrapper.sh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/virtualenvwrapper.sh b/virtualenvwrapper.sh index 66f0f07..2fc749d 100644 --- a/virtualenvwrapper.sh +++ b/virtualenvwrapper.sh @@ -391,6 +391,12 @@ function virtualenvwrapper_mkvirtualenv_help { echo echo " Provide a pip requirements file to install a base set of packages" echo " into the new environment." + echo + echo " -p python_interpreter, --python=python_interpreter" + echo + echo " The Python interpreter to use for the new environment." + echo " This can be specified as -p python3.8 or --python=/path/to/python" + echo echo; echo 'virtualenv help:'; echo; From 389ae9b74acdcbefdc44ae1ca7358b240ee312fc Mon Sep 17 00:00:00 2001 From: LaosLos Date: Sun, 13 Oct 2024 16:50:25 +0200 Subject: [PATCH 2/3] Add additional line to mkvirtualenv help --- virtualenvwrapper.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/virtualenvwrapper.sh b/virtualenvwrapper.sh index 2fc749d..7527c64 100644 --- a/virtualenvwrapper.sh +++ b/virtualenvwrapper.sh @@ -375,7 +375,7 @@ function virtualenvwrapper_verify_active_environment { # Help text for mkvirtualenv function virtualenvwrapper_mkvirtualenv_help { - echo "Usage: mkvirtualenv [-a project_path] [-i package] [-r requirements_file] [virtualenv options] env_name" + echo "Usage: mkvirtualenv [-a project_path] [-i package] [-r requirements_file] [-p python_interpreter] [virtualenv options] env_name" echo echo " -a project_path" echo From 6d2f60371e30e29bbe79d4d98a55e71644f16e49 Mon Sep 17 00:00:00 2001 From: LaosLos Date: Sun, 13 Oct 2024 20:17:05 +0200 Subject: [PATCH 3/3] Update broken MSYS link in installation documentation --- docs/source/install.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/source/install.rst b/docs/source/install.rst index c7429dd..4af1f06 100644 --- a/docs/source/install.rst +++ b/docs/source/install.rst @@ -57,7 +57,7 @@ or:: Depending on your MSYS setup, you may need to install the `MSYS mktemp binary`_ in the ``MSYS_HOME/bin`` folder. -.. _MSYS mktemp binary: https://sourceforge.net/projects/mingw/files/MSYS/ +.. _MSYS mktemp binary: https://sourceforge.net/projects/mingw/files/MSYS/Extension/mktemp/ PowerShell ----------