From 7a8b64c3b472cb6b9b2c394f54842d36498fb5a6 Mon Sep 17 00:00:00 2001 From: Marc Beninca Date: Wed, 7 Aug 2024 11:14:32 +0200 Subject: [PATCH] synchronize packages --- spcd.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/spcd.sh b/spcd.sh index bb9007f..920ff5e 100644 --- a/spcd.sh +++ b/spcd.sh @@ -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"