diff --git a/spcd/__main__.py b/spcd/__main__.py index 510aeb9..520540c 100755 --- a/spcd/__main__.py +++ b/spcd/__main__.py @@ -2,11 +2,11 @@ """Entry point.""" +import importlib import sys -from spcd.shell import env - if __name__ == "__main__": + env = importlib.import_module("env") if env.SPCD_PYTHON_VENV_PACKAGES not in sys.path: sys.path.insert(0, env.SPCD_PYTHON_VENV_PACKAGES) from spcd import main