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