mirror of
https://github.com/pyenv/pyenv-virtualenv.git
synced 2025-11-11 04:53:53 -05:00
Remove a call of create_symlinks after the upgrade of existing virtualenv.
The `pyenv-virtualenv` only takes care about the name of executables of `python`, `setuptools` and `pip`.
This commit is contained in:
@@ -186,7 +186,7 @@ build_package_ensurepip() {
|
|||||||
build_package_ez_setup "$@" && build_package_get_pip "$@"
|
build_package_ez_setup "$@" && build_package_get_pip "$@"
|
||||||
} || return 1
|
} || return 1
|
||||||
|
|
||||||
# create_symlinks "$(pyenv-exec python -c 'import sys;v=sys.version_info;sys.stdout.write("python%d.%d"%(v[0],v[1]))')"
|
create_symlinks "$(pyenv-exec python -c 'import sys;v=sys.version_info;sys.stdout.write("python%d.%d"%(v[0],v[1]))')"
|
||||||
}
|
}
|
||||||
|
|
||||||
install_virtualenv() {
|
install_virtualenv() {
|
||||||
@@ -438,8 +438,6 @@ if [ -n "$UPGRADE" ]; then
|
|||||||
upgrade "${VIRTUALENV_NAME}" "${VIRTUALENV_PATH}" || STATUS="$?"
|
upgrade "${VIRTUALENV_NAME}" "${VIRTUALENV_PATH}" || STATUS="$?"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
create_symlinks "$(PYENV_VERSION="${VIRTUALENV_NAME}" pyenv-exec python -c 'import sys;v=sys.version_info;sys.stdout.write("python%d.%d"%(v[0],v[1]))')"
|
|
||||||
|
|
||||||
# Execute `after_virtualenv` hooks
|
# Execute `after_virtualenv` hooks
|
||||||
for hook in "${after_hooks[@]}"; do eval "$hook"; done
|
for hook in "${after_hooks[@]}"; do eval "$hook"; done
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user