mirror of
https://github.com/pyenv/pyenv-virtualenv.git
synced 2026-09-10 07:16:18 -04:00
Add links to python-config to VE
This commit is contained in:
parent
cd6a51ad68
commit
cb27b408dd
|
|
@ -600,6 +600,15 @@ else
|
|||
fi
|
||||
fi
|
||||
|
||||
(
|
||||
shopt -o nullglob
|
||||
for extra_binary in "$PREFIX"/bin/python-config*; do
|
||||
extra_binary_linkname="$VIRTUALENV_PREFIX/bin/$(basename $extra_binary)"
|
||||
[[ -e "$extra_binary_linkname" ]] || \
|
||||
ln -s "$extra_binary" "$extra_binary_linkname"
|
||||
done
|
||||
)
|
||||
|
||||
## Create symlink in the `versions` directory for backward compatibility
|
||||
if [ -d "${VIRTUALENV_PATH}" ] && [ -n "${COMPAT_VIRTUALENV_PATH}" ]; then
|
||||
ln -fs "${VIRTUALENV_PATH}" "${COMPAT_VIRTUALENV_PATH}"
|
||||
|
|
|
|||
Loading…
Reference in a new issue