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 |
22 |
23 import Toolbox.PyQt4ImportHook # __IGNORE_WARNING__ |
23 import Toolbox.PyQt4ImportHook # __IGNORE_WARNING__ |
24 |
|
25 try: # Only for Py2 |
|
26 import Globals.compatibility_fixes # __IGNORE_WARNING__ |
|
27 except (ImportError): |
|
28 pass |
|
29 |
24 |
30 for arg in sys.argv[:]: |
25 for arg in sys.argv[:]: |
31 if arg.startswith("--config="): |
26 if arg.startswith("--config="): |
32 import Globals |
27 import Globals |
33 configDir = arg.replace("--config=", "") |
28 configDir = arg.replace("--config=", "") |