main/importlib
Some checks failed
/ arch (push) Successful in 3m1s
/ alpine (push) Successful in 1m59s
/ fedora (push) Successful in 15m45s
/ opensuse (push) Successful in 4m57s
/ alma (push) Successful in 12m45s
/ rocky (push) Successful in 13m51s
/ ubuntu (push) Successful in 10m53s
/ debian (push) Failing after 6m59s
Some checks failed
/ arch (push) Successful in 3m1s
/ alpine (push) Successful in 1m59s
/ fedora (push) Successful in 15m45s
/ opensuse (push) Successful in 4m57s
/ alma (push) Successful in 12m45s
/ rocky (push) Successful in 13m51s
/ ubuntu (push) Successful in 10m53s
/ debian (push) Failing after 6m59s
This commit is contained in:
parent
a9fa0d911d
commit
bfc4538dcf
1 changed files with 2 additions and 2 deletions
|
@ -2,11 +2,11 @@
|
||||||
|
|
||||||
"""Entry point."""
|
"""Entry point."""
|
||||||
|
|
||||||
|
import importlib
|
||||||
import sys
|
import sys
|
||||||
|
|
||||||
from spcd.shell import env
|
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
|
env = importlib.import_module("env")
|
||||||
if env.SPCD_PYTHON_VENV_PACKAGES not in sys.path:
|
if env.SPCD_PYTHON_VENV_PACKAGES not in sys.path:
|
||||||
sys.path.insert(0, env.SPCD_PYTHON_VENV_PACKAGES)
|
sys.path.insert(0, env.SPCD_PYTHON_VENV_PACKAGES)
|
||||||
from spcd import main
|
from spcd import main
|
||||||
|
|
Loading…
Reference in a new issue