This commit is contained in:
parent
700654fadc
commit
d14ae1725e
2 changed files with 6 additions and 1 deletions
3
spcd.sh
3
spcd.sh
|
@ -734,7 +734,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 \
|
PYTHON_VENV_BINARIES 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}
|
||||||
|
@ -919,6 +919,7 @@ SPCD_PM_DNF="dnf"
|
||||||
SPCD_PM_PACMAN="pacman"
|
SPCD_PM_PACMAN="pacman"
|
||||||
|
|
||||||
SPCD_PYTHON_VENV="/opt/venv"
|
SPCD_PYTHON_VENV="/opt/venv"
|
||||||
|
SPCD_PYTHON_VENV_BINARIES="${SPCD_PYTHON_VENV}/bin"
|
||||||
|
|
||||||
SPCD_HORIZONTAL="────╌╌╌╌┄┄┄┄┈┈┈┈"
|
SPCD_HORIZONTAL="────╌╌╌╌┄┄┄┄┈┈┈┈"
|
||||||
|
|
||||||
|
|
|
@ -2,6 +2,7 @@
|
||||||
|
|
||||||
"""Entry point."""
|
"""Entry point."""
|
||||||
|
|
||||||
|
import os
|
||||||
import sys
|
import sys
|
||||||
|
|
||||||
import env
|
import env
|
||||||
|
@ -11,4 +12,7 @@ if env.SPCD_PYTHON_VENV_PACKAGES not in sys.path:
|
||||||
import spcd
|
import spcd
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
|
os.environ["PATH"] = os.pathsep.join(
|
||||||
|
[env.SPCD_PYTHON_VENV_BINARIES, os.environ["PATH"]]
|
||||||
|
)
|
||||||
spcd.main(__file__)
|
spcd.main(__file__)
|
||||||
|
|
Loading…
Reference in a new issue