equal
deleted
inserted
replaced
11 from util.paths import Bpath |
11 from util.paths import Bpath |
12 |
12 |
13 _exec = sys.executable if "darwin" not in sys.platform else sys.executable + 'w' |
13 _exec = sys.executable if "darwin" not in sys.platform else sys.executable + 'w' |
14 LocalRuntimeInterpreterPath = os.environ.get("BEREMIZPYTHONPATH", _exec) |
14 LocalRuntimeInterpreterPath = os.environ.get("BEREMIZPYTHONPATH", _exec) |
15 |
15 |
16 LocalHost = os.environ.get("BEREMIZ_LOCAL_HOST", "localhost") |
16 LocalHost = os.environ.get("BEREMIZ_LOCAL_HOST", "127.0.0.1") |
17 |
17 |
18 class LocalRuntimeMixin(): |
18 class LocalRuntimeMixin(): |
19 |
19 |
20 def __init__(self, log, use_gui=True): |
20 def __init__(self, log, use_gui=True): |
21 self.local_runtime_log = log |
21 self.local_runtime_log = log |