Change the installation path of the virtualenv.py script.

This commit is contained in:
Yamashita Yuu
2013-05-07 21:22:51 +09:00
parent 1389d840d1
commit 9e438ee3e2
4 changed files with 2 additions and 3 deletions

View File

@@ -43,6 +43,7 @@ under `~/.pyenv/versions`.
#### 2013XXYY #### 2013XXYY
* Remove `python-virtualenv` which was no longer used. * Remove `python-virtualenv` which was no longer used.
* Change the installation path of the `virtualenv.py` script. (`./libexec` -> `./libexec/pyenv-virtualenv`)
#### 20130507 #### 20130507

View File

@@ -77,8 +77,6 @@ usage() {
PYENV_VIRTUALENV_ROOT="$(abs_dirname "$0")/.." PYENV_VIRTUALENV_ROOT="$(abs_dirname "$0")/.."
VIRTUALENV="${PYENV_VIRTUALENV_ROOT}/libexec/pyenv-virtualenv/virtualenv.py" 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=() VIRTUALENV_OPTIONS=()
parse_options "$@" parse_options "$@"

View File

@@ -16,7 +16,7 @@ for file in bin/*; do
cp "${file}" "${BIN_PATH}" cp "${file}" "${BIN_PATH}"
done done
for file in libexec/*; do for file in libexec/pyenv-virtualenv/*.py; do
cp "${file}" "${LIBEXEC_PATH}" cp "${file}" "${LIBEXEC_PATH}"
done done