docstring/spcd/init/main
This commit is contained in:
parent
ba59b1618f
commit
dddad18357
1 changed files with 1 additions and 0 deletions
|
@ -87,6 +87,7 @@ def list_environment_variables() -> None:
|
|||
|
||||
|
||||
def main(main: str) -> None:
|
||||
"""Entry point to initialize environment or run a specific command."""
|
||||
paths = environ["PATH"].split(pathsep)
|
||||
if env.SPCD_PYTHON_VENV_BINARIES not in paths:
|
||||
environ["PATH"] = pathsep.join([env.SPCD_PYTHON_VENV_BINARIES, *paths])
|
||||
|
|
Loading…
Reference in a new issue