Compare commits

...

2 commits

Author SHA1 Message Date
f659487b86
insert python venv packages into sys.path
Some checks failed
/ job (push) Failing after 10m2s
2024-08-07 15:38:05 +02:00
98923934b3
relay python venv packages 2024-08-07 15:18:54 +02:00
2 changed files with 6 additions and 0 deletions

View file

@ -772,6 +772,7 @@ spcd_write_python_module() {
for spcd_wpm__variable in \ for spcd_wpm__variable in \
OS_ID OS_VERSION \ OS_ID OS_VERSION \
PROJECT_ROOT PROJECT_PATH PROJECT_NAME \ PROJECT_ROOT PROJECT_PATH PROJECT_NAME \
PYTHON_VENV_PACKAGES \
OPEN DOWN VERT SPLT __UP SHUT; do OPEN DOWN VERT SPLT __UP SHUT; do
spcd_wpm__value="$(spcd_echo "SPCD_${spcd_wpm__variable}")" spcd_wpm__value="$(spcd_echo "SPCD_${spcd_wpm__variable}")"
spcd_wpm__text="${spcd_wpm__text}${spcd_wpm__value} spcd_wpm__text="${spcd_wpm__text}${spcd_wpm__value}

View file

@ -3,6 +3,11 @@
__version__ = "0.0.1" __version__ = "0.0.1"
import sys import sys
import env
sys.path.insert(0, env.SPCD_PYTHON_VENV_PACKAGES)
from pathlib import Path from pathlib import Path
from rwx import fs from rwx import fs