diff --git a/spcd.sh b/spcd.sh index aaf4f05..e105c3c 100644 --- a/spcd.sh +++ b/spcd.sh @@ -781,9 +781,12 @@ spcd_write_python_module() { spcd_wpm__text="${spcd_wpm__text}${spcd_wpm__value} " done - spcd_write "${SPCD_PYTHON_PACKAGES}/env.py" "${spcd_wpm__text} + for spcd_wpm__root in \ + "${SPCD_PYTHON_PACKAGES}" "${SPCD_PYTHON_VENV_PACKAGES}"; do + spcd_write "${spcd_wpm__root}/env.py" "${spcd_wpm__text} SPCD_STEP = $((SPCD_STEP + 1)) " + done } spcd_switch_to_python() {