Skip to content

Commit

Permalink
Enhance documentation about options for pyenv virtualenv (#425)
Browse files Browse the repository at this point in the history
Co-authored-by: Ivan Pozdeev <vano@mail.mipt.ru>
  • Loading branch information
pylipp and native-api authored Oct 12, 2022
1 parent 0a1839d commit 177eb67
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,9 @@ $ pyenv virtualenv 2.7.10 my-virtual-env-2.7.10
will create a virtualenv based on Python 2.7.10 under `$(pyenv root)/versions` in a
folder called `my-virtual-env-2.7.10`.
`pyenv virtualenv` forwards any options to the underlying command that actually
creates the virtual environment (`conda`, `virtualenv`, or `python -m venv`).
See the output of `pyenv virtualenv --help` for details.
### Create virtualenv from current version
Expand Down
6 changes: 5 additions & 1 deletion bin/pyenv-virtualenv
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,11 @@
# pyenv virtualenv --version
# pyenv virtualenv --help
#
# -f/--force Install even if the version appears to be installed already
# -f/--force Install even if the version appears to be installed already. Skip
# prompting for confirmation
#
# Notable VIRTUALENV_OPTIONS passed to venv-creating executable, if applicable:
# -u/--upgrade Imply --force
#

PYENV_VIRTUALENV_VERSION="1.1.5"
Expand Down

0 comments on commit 177eb67

Please sign in to comment.