25 |
25 |
26 try: # Only for Py2 |
26 try: # Only for Py2 |
27 import Globals.compatibility_fixes # __IGNORE_WARNING__ |
27 import Globals.compatibility_fixes # __IGNORE_WARNING__ |
28 import StringIO as io # __IGNORE_EXCEPTION__ |
28 import StringIO as io # __IGNORE_EXCEPTION__ |
29 import locale |
29 import locale |
30 coverage = 'Python' |
|
31 except ImportError: |
30 except ImportError: |
32 import io # __IGNORE_WARNING__ |
31 import io # __IGNORE_WARNING__ |
33 basestring = str |
32 basestring = str |
34 coverage = 'Python3' |
|
35 |
33 |
36 try: |
34 try: |
37 import sip |
35 import sip |
38 sip.setdestroyonexit(False) |
36 sip.setdestroyonexit(False) |
39 except AttributeError: |
37 except AttributeError: |
95 sys.path.insert(2, os.path.join(os.path.dirname(__file__), |
93 sys.path.insert(2, os.path.join(os.path.dirname(__file__), |
96 "ThirdParty", "Pygments")) |
94 "ThirdParty", "Pygments")) |
97 sys.path.insert(2, os.path.join(os.path.dirname(__file__), |
95 sys.path.insert(2, os.path.join(os.path.dirname(__file__), |
98 "ThirdParty", "Jasy")) |
96 "ThirdParty", "Jasy")) |
99 sys.path.insert(2, os.path.join(os.path.dirname(__file__), |
97 sys.path.insert(2, os.path.join(os.path.dirname(__file__), |
100 "DebugClients", coverage)) |
98 "DebugClients", "Python")) |
101 |
99 |
102 from E5Gui.E5Application import E5Application |
100 from E5Gui.E5Application import E5Application |
103 |
101 |
104 |
102 |
105 def handleSingleApplication(ddindex): |
103 def handleSingleApplication(ddindex): |