Skip to content

Update mkvirtualenv help to document -p/--python option #109

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 @@ -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
Expand All @@ -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;
Expand Down
Loading