synchronize packages

This commit is contained in:
Marc Beninca 2024-08-07 11:14:32 +02:00
parent 0ad80b2761
commit 7a8b64c3b4
Signed by: marc.beninca
GPG key ID: 9C7613450C80C24F

View file

@ -708,6 +708,11 @@ index-url = ${SPCD_URL_PYTHON}
spcd_split
spcd_ip__venv="/opt/venv"
"${SPCD_PYTHON_ALIAS}" -m "venv" "${spcd_ip__venv}"
spcd_split
rsync --archive --verbose \
"${SPCD_PYTHON_PACKAGES}" \
"${spcd_ip__venv}/lib/${SPCD_PYTHON_COMMAND}/site-packages"
spcd_split
. "${spcd_ip__venv}/bin/activate"
spcd_split
pip install --upgrade "pip"