Skip to content

Commit 177eb67

Browse files
pylippnative-api
andauthored
Enhance documentation about options for pyenv virtualenv (#425)
Co-authored-by: Ivan Pozdeev <[email protected]>
1 parent 0a1839d commit 177eb67

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,9 @@ $ pyenv virtualenv 2.7.10 my-virtual-env-2.7.10
9999
will create a virtualenv based on Python 2.7.10 under `$(pyenv root)/versions` in a
100100
folder called `my-virtual-env-2.7.10`.
101101
102+
`pyenv virtualenv` forwards any options to the underlying command that actually
103+
creates the virtual environment (`conda`, `virtualenv`, or `python -m venv`).
104+
See the output of `pyenv virtualenv --help` for details.
102105
103106
### Create virtualenv from current version
104107

bin/pyenv-virtualenv

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,11 @@
66
# pyenv virtualenv --version
77
# pyenv virtualenv --help
88
#
9-
# -f/--force Install even if the version appears to be installed already
9+
# -f/--force Install even if the version appears to be installed already. Skip
10+
# prompting for confirmation
11+
#
12+
# Notable VIRTUALENV_OPTIONS passed to venv-creating executable, if applicable:
13+
# -u/--upgrade Imply --force
1014
#
1115

1216
PYENV_VIRTUALENV_VERSION="1.1.5"

0 commit comments

Comments
 (0)