diff --git a/readme.md b/readme.md index 08f2465..f9c8ffa 100644 --- a/readme.md +++ b/readme.md @@ -85,8 +85,6 @@ from various contexts of CA, CI and OCI / OS. * actions * includes * handle python virtual environment - * create venv - * activate venv * upgrade pip * install packages * ruff diff --git a/spcd.sh b/spcd.sh index ad990cc..4b169f8 100644 --- a/spcd.sh +++ b/spcd.sh @@ -668,6 +668,10 @@ spcd_install_packages() { [global] index-url = ${SPCD_URL_PYTHON} " + spcd_split + spcd_ip__venv="/opt/venv" + "${SPCD_PYTHON_ALIAS}" -m "venv" "${spcd_ip__venv}" + . "${spcd_ip__venv}/bin/activate" # rsync spcd_step "Install Rsync" spcd_install_package "rsync"