mirror of
https://github.com/pyenv/pyenv-virtualenv.git
synced 2025-11-17 07:53:42 -05:00
Replaced pyvenv by -m venv
This commit is contained in:
@@ -33,7 +33,7 @@ for version in "${versions[@]}"; do
|
||||
VIRTUALENV_PREFIX_PATH="${PYENV_PREFIX_PATH}"
|
||||
else
|
||||
if [ -f "${PYENV_ROOT}/versions/${version}/pyvenv.cfg" ]; then
|
||||
# pyvenv
|
||||
# venv
|
||||
virtualenv_binpath="$(cut -b 1-1024 "${PYENV_ROOT}/versions/${version}/pyvenv.cfg" | sed -n '/^ *home *= */s///p' || true)"
|
||||
VIRTUALENV_PREFIX_PATH="${virtualenv_binpath%/bin}"
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user