14 import sys |
14 import sys |
15 import os |
15 import os |
16 |
16 |
17 sys.path.insert(1, os.path.join( |
17 sys.path.insert(1, os.path.join( |
18 os.path.dirname(__file__), "..", "..", "..", "..")) |
18 os.path.dirname(__file__), "..", "..", "..", "..")) |
19 # four times up is the eric6 package directory |
19 # four times up is the eric7 package directory |
20 |
20 |
21 for arg in sys.argv[:]: |
21 for arg in sys.argv[:]: |
22 if arg.startswith("--config="): |
22 if arg.startswith("--config="): |
23 import Globals |
23 import Globals |
24 configDir = arg.replace("--config=", "") |
24 configDir = arg.replace("--config=", "") |