fix: use --python flag for uv pip install
Follows profilarr-install.sh pattern: uv venv then uv pip install --python /path/to/venv/bin/python
This commit is contained in:
@@ -67,9 +67,7 @@ function update_script() {
|
|||||||
|
|
||||||
msg_info "Updating Python Dependencies"
|
msg_info "Updating Python Dependencies"
|
||||||
cd /opt/plane/apps/api
|
cd /opt/plane/apps/api
|
||||||
export VIRTUAL_ENV=/opt/plane-venv
|
$STD uv pip install --python /opt/plane-venv/bin/python --upgrade -r requirements/production.txt
|
||||||
export PATH="/opt/plane-venv/bin:$PATH"
|
|
||||||
$STD uv pip install --upgrade -r requirements/production.txt
|
|
||||||
msg_ok "Updated Python Dependencies"
|
msg_ok "Updated Python Dependencies"
|
||||||
|
|
||||||
msg_info "Running Migrations"
|
msg_info "Running Migrations"
|
||||||
|
|||||||
@@ -100,9 +100,7 @@ msg_ok "Built Frontend Apps"
|
|||||||
msg_info "Setting up Python API"
|
msg_info "Setting up Python API"
|
||||||
setup_uv
|
setup_uv
|
||||||
$STD uv venv /opt/plane-venv
|
$STD uv venv /opt/plane-venv
|
||||||
export VIRTUAL_ENV=/opt/plane-venv
|
$STD uv pip install --python /opt/plane-venv/bin/python -r /opt/plane/apps/api/requirements/production.txt
|
||||||
export PATH="/opt/plane-venv/bin:$PATH"
|
|
||||||
$STD uv pip install -r /opt/plane/apps/api/requirements/production.txt
|
|
||||||
msg_ok "Set up Python API"
|
msg_ok "Set up Python API"
|
||||||
|
|
||||||
msg_info "Configuring Plane"
|
msg_info "Configuring Plane"
|
||||||
|
|||||||
Reference in New Issue
Block a user