equal
deleted
inserted
replaced
4 import os |
4 import os |
5 import sys |
5 import sys |
6 import tempfile |
6 import tempfile |
7 import random |
7 import random |
8 import shutil |
8 import shutil |
|
9 |
9 from util.ProcessLogger import ProcessLogger |
10 from util.ProcessLogger import ProcessLogger |
10 from util.paths import Bpath |
11 from util.paths import Bpath |
11 |
12 |
12 LocalRuntimeInterpreterPath = \ |
13 LocalRuntimeInterpreterPath = \ |
13 os.environ["BEREMIZPYTHONPATH"] \ |
14 os.environ.get("BEREMIZPYTHONPATH", sys.executable) |
14 if os.environ.has_key("BEREMIZPYTHONPATH") \ |
|
15 else sys.executable |
|
16 |
15 |
17 class LocalRuntimeMixin(): |
16 class LocalRuntimeMixin(): |
18 |
17 |
19 def __init__(self, log, use_gui=True): |
18 def __init__(self, log, use_gui=True): |
20 self.local_runtime_log = log |
19 self.local_runtime_log = log |