From 12b1d8afc23ee57f41698e4c148945337c8bf567 Mon Sep 17 00:00:00 2001 From: Alvin Schiller <103769832+AlvinSchiller@users.noreply.github.com> Date: Mon, 22 Apr 2024 00:49:34 +0200 Subject: [PATCH] use PIP_CONSTRAINT --- installation/routines/setup_jukebox_core.sh | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/installation/routines/setup_jukebox_core.sh b/installation/routines/setup_jukebox_core.sh index dbd5a6c4c..53d99a854 100644 --- a/installation/routines/setup_jukebox_core.sh +++ b/installation/routines/setup_jukebox_core.sh @@ -30,7 +30,8 @@ _jukebox_core_install_python_requirements() { source "$VIRTUAL_ENV/bin/activate" pip install --upgrade pip - pip install --no-cache-dir -r "${INSTALLATION_PATH}/requirements.txt" --constraint "${INSTALLATION_PATH}/constraint.txt" + PIP_CONSTRAINT="${INSTALLATION_PATH}/constraint.txt" \ + pip install --no-cache-dir -r "${INSTALLATION_PATH}/requirements.txt" } _jukebox_core_configure_pulseaudio() { @@ -85,8 +86,8 @@ _jukebox_core_build_and_install_pyzmq() { _jukebox_core_download_prebuilt_libzmq_with_drafts fi - ZMQ_PREFIX="${JUKEBOX_ZMQ_PREFIX}" ZMQ_DRAFT_API=1 \ - pip install -v pyzmq --no-binary pyzmq --constraint "${INSTALLATION_PATH}/constraint.txt" + PIP_CONSTRAINT="${INSTALLATION_PATH}/constraint.txt" ZMQ_PREFIX="${JUKEBOX_ZMQ_PREFIX}" ZMQ_DRAFT_API=1 \ + pip install -v pyzmq --no-binary pyzmq else print_lc " Skipping. pyzmq already installed"