mirror of
https://github.com/pyenv/pyenv-virtualenv.git
synced 2026-09-10 07:16:18 -04:00
Change the installation path of the virtualenv.py script.
This commit is contained in:
parent
1389d840d1
commit
9e438ee3e2
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue