mirror of
https://github.com/pyenv/pyenv-virtualenv.git
synced 2025-11-08 11:33:55 -05:00
Change the installation path of the virtualenv.py script.
This commit is contained in:
@@ -43,6 +43,7 @@ under `~/.pyenv/versions`.
|
||||
#### 2013XXYY
|
||||
|
||||
* Remove `python-virtualenv` which was no longer used.
|
||||
* Change the installation path of the `virtualenv.py` script. (`./libexec` -> `./libexec/pyenv-virtualenv`)
|
||||
|
||||
#### 20130507
|
||||
|
||||
|
||||
@@ -77,8 +77,6 @@ usage() {
|
||||
|
||||
PYENV_VIRTUALENV_ROOT="$(abs_dirname "$0")/.."
|
||||
VIRTUALENV="${PYENV_VIRTUALENV_ROOT}/libexec/pyenv-virtualenv/virtualenv.py"
|
||||
[ -f "${VIRTUALENV}" ] || VIRTUALENV="${PYENV_VIRTUALENV_ROOT}/libexec/python-virtualenv/virtualenv.py" # backward compatibility before v20130307
|
||||
[ -f "${VIRTUALENV}" ] || VIRTUALENV="${PYENV_VIRTUALENV_ROOT}/libexec/virtualenv.py"
|
||||
VIRTUALENV_OPTIONS=()
|
||||
|
||||
parse_options "$@"
|
||||
|
||||
@@ -16,7 +16,7 @@ for file in bin/*; do
|
||||
cp "${file}" "${BIN_PATH}"
|
||||
done
|
||||
|
||||
for file in libexec/*; do
|
||||
for file in libexec/pyenv-virtualenv/*.py; do
|
||||
cp "${file}" "${LIBEXEC_PATH}"
|
||||
done
|
||||
|
||||
|
||||
Reference in New Issue
Block a user