Skip to content

Commit

Permalink
Merge pull request #109 from claudia-blanc/update-mkvirtualenv-help
Browse files Browse the repository at this point in the history
Update mkvirtualenv help to document -p/--python option
  • Loading branch information
mergify[bot] authored Oct 13, 2024
2 parents d5371da + 6d2f603 commit 008383a
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/source/install.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
----------
Expand Down
8 changes: 7 additions & 1 deletion virtualenvwrapper.sh
Original file line number Diff line number Diff line change
Expand Up @@ -374,7 +374,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
Expand All @@ -390,6 +390,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;
Expand Down

0 comments on commit 008383a

Please sign in to comment.