Merge "Resolve circular dependency when tracking dependencies."
This commit is contained in:
commit
d91cef35c6
@ -1349,7 +1349,10 @@ function pip_install {
|
|||||||
if [[ -z "$os_PACKAGE" ]]; then
|
if [[ -z "$os_PACKAGE" ]]; then
|
||||||
GetOSVersion
|
GetOSVersion
|
||||||
fi
|
fi
|
||||||
if [[ $TRACK_DEPENDS = True ]]; then
|
if [[ $TRACK_DEPENDS = True && ! "$@" =~ virtualenv ]]; then
|
||||||
|
# TRACK_DEPENDS=True installation creates a circular dependency when
|
||||||
|
# we attempt to install virtualenv into a virualenv, so we must global
|
||||||
|
# that installation.
|
||||||
source $DEST/.venv/bin/activate
|
source $DEST/.venv/bin/activate
|
||||||
local cmd_pip=$DEST/.venv/bin/pip
|
local cmd_pip=$DEST/.venv/bin/pip
|
||||||
local sudo_pip="env"
|
local sudo_pip="env"
|
||||||
|
Loading…
Reference in New Issue
Block a user