diff --git a/ct/plane.sh b/ct/plane.sh index a6d8a1ac..6f689387 100644 --- a/ct/plane.sh +++ b/ct/plane.sh @@ -67,9 +67,7 @@ function update_script() { msg_info "Updating Python Dependencies" cd /opt/plane/apps/api - export VIRTUAL_ENV=/opt/plane-venv - export PATH="/opt/plane-venv/bin:$PATH" - $STD uv pip install --upgrade -r requirements/production.txt + $STD uv pip install --python /opt/plane-venv/bin/python --upgrade -r requirements/production.txt msg_ok "Updated Python Dependencies" msg_info "Running Migrations" diff --git a/install/plane-install.sh b/install/plane-install.sh index 3086380b..36d46491 100644 --- a/install/plane-install.sh +++ b/install/plane-install.sh @@ -100,9 +100,7 @@ msg_ok "Built Frontend Apps" msg_info "Setting up Python API" setup_uv $STD uv venv /opt/plane-venv -export VIRTUAL_ENV=/opt/plane-venv -export PATH="/opt/plane-venv/bin:$PATH" -$STD uv pip install -r /opt/plane/apps/api/requirements/production.txt +$STD uv pip install --python /opt/plane-venv/bin/python -r /opt/plane/apps/api/requirements/production.txt msg_ok "Set up Python API" msg_info "Configuring Plane"