LocalRuntimeMixin.py
branchpython3
changeset 3777 a26453d1c54d
parent 3721 6365e33fb11f
child 3847 832c257d5618
equal deleted inserted replaced
3776:1fbc900ca1ce 3777:a26453d1c54d
     8 import shutil
     8 import shutil
     9 
     9 
    10 from util.ProcessLogger import ProcessLogger
    10 from util.ProcessLogger import ProcessLogger
    11 from util.paths import Bpath
    11 from util.paths import Bpath
    12 
    12 
    13 LocalRuntimeInterpreterPath = \
    13 _exec = sys.executable if "darwin" not in sys.platform else sys.executable + 'w'
    14     os.environ.get("BEREMIZPYTHONPATH", sys.executable)
    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", "localhost")
    17 
    17 
    18 class LocalRuntimeMixin():
    18 class LocalRuntimeMixin():
    19 
    19