Added libyaml-dev and python3-dev to the dependencies for building PyYAML #12
@ -18,7 +18,9 @@ APPLICATION="profilarr"
|
||||
msg_info "Installing Dependencies"
|
||||
$STD apt-get install -y \
|
||||
unzip \
|
||||
build-essential
|
||||
build-essential \
|
||||
libyaml-dev \
|
||||
python3-dev
|
||||
msg_ok "Installed Dependencies"
|
||||
|
||||
msg_info "Installing Python"
|
||||
@ -58,6 +60,9 @@ $STD mv "${EXTRACTED_DIR}/backend" /opt/${APPLICATION}/
|
||||
$STD mv "${EXTRACTED_DIR}/frontend" /opt/${APPLICATION}/
|
||||
echo "${RELEASE}" >/opt/${APPLICATION}_version.txt
|
||||
$STD uv venv /opt/${APPLICATION}/venv
|
||||
|
||||
# Install a compatible version of PyYAML first
|
||||
$STD uv pip install --python /opt/${APPLICATION}/venv/bin/python "PyYAML>=6.0"
|
||||
$STD uv pip install --python /opt/${APPLICATION}/venv/bin/python -r /opt/${APPLICATION}/backend/requirements.txt
|
||||
$STD uv pip install --python /opt/${APPLICATION}/venv/bin/python gunicorn
|
||||
msg_ok "Setup ${APPLICATION}"
|
||||
|
||||
Reference in New Issue
Block a user