Fix python path due to global virtual environment
Change-Id: Ibcd48c41f00cdac30654d5f90a9ee4b4c829ae85
This commit is contained in:
parent
1c53427ea2
commit
693ffb903b
@ -74,7 +74,7 @@ function configure_kuryr {
|
|||||||
|
|
||||||
# main loop
|
# main loop
|
||||||
if is_service_enabled kuryr-libnetwork; then
|
if is_service_enabled kuryr-libnetwork; then
|
||||||
DISTRO_DISTUTILS_DATA_PATH=$(python3 -c "import distutils.dist;import distutils.command.install;inst = distutils.command.install.install(distutils.dist.Distribution());inst.finalize_options();print(inst.install_data)")
|
DISTRO_DISTUTILS_DATA_PATH=$($PYTHON -c "import distutils.dist;import distutils.command.install;inst = distutils.command.install.install(distutils.dist.Distribution());inst.finalize_options();print(inst.install_data)")
|
||||||
if [[ "$1" == "stack" && "$2" == "install" ]]; then
|
if [[ "$1" == "stack" && "$2" == "install" ]]; then
|
||||||
# Install kuryr-lib from git so we make sure we're testing
|
# Install kuryr-lib from git so we make sure we're testing
|
||||||
# the latest code.
|
# the latest code.
|
||||||
|
Loading…
Reference in New Issue
Block a user