fix: activate venv before uv pip install
uv pip needs the venv to be activated (VIRTUAL_ENV set) to find it. Setting VIRTUAL_ENV and PATH ensures uv can locate the venv.
This commit is contained in:
@@ -100,6 +100,8 @@ 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
|
||||
msg_ok "Set up Python API"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user