LocalRuntimeMixin.py
changeset 3847 832c257d5618
parent 3777 a26453d1c54d
child 3911 ec3c7e76f694
equal deleted inserted replaced
3846:cf027bfe2653 3847:832c257d5618
    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