diff --git a/readme.md b/readme.md index 30b7aa9..d2b383c 100644 --- a/readme.md +++ b/readme.md @@ -84,7 +84,6 @@ from various contexts of CA, CI and OCI / OS. * actions * includes * handle python virtual environment - * install venv if necessary * upgrade pip * install packages * ruff diff --git a/spcd.sh b/spcd.sh index 6af63bf..1f0d8fd 100644 --- a/spcd.sh +++ b/spcd.sh @@ -653,6 +653,15 @@ spcd_install_packages() { ;; *) ;; esac + # python venv + spcd_step "Install Python virtual environment" + case "${SPCD_OS_ID}" in + "${SPCD_OS_DEBIAN}" | "${SPCD_OS_UBUNTU}") + spcd_install_package "python3-venv" + ;; + # FIXME arch + *) ;; + esac # rsync spcd_step "Install Rsync" spcd_install_package "rsync"