25 |
25 |
26 try: # Only for Py2 |
26 try: # Only for Py2 |
27 import StringIO as io # __IGNORE_EXCEPTION__ |
27 import StringIO as io # __IGNORE_EXCEPTION__ |
28 import Globals.compatibility_fixes # __IGNORE_WARNING__ |
28 import Globals.compatibility_fixes # __IGNORE_WARNING__ |
29 import locale |
29 import locale |
|
30 coverage = 'Python' |
30 except ImportError: |
31 except ImportError: |
31 import io # __IGNORE_WARNING__ |
32 import io # __IGNORE_WARNING__ |
32 basestring = str |
33 basestring = str |
|
34 coverage = 'Python3' |
33 |
35 |
34 try: |
36 try: |
35 import sip |
37 import sip |
36 sip.setdestroyonexit(False) |
38 sip.setdestroyonexit(False) |
37 except AttributeError: |
39 except AttributeError: |
87 # make Third-Party package available as a packages repository |
89 # make Third-Party package available as a packages repository |
88 sys.path.insert(2, os.path.join(os.path.dirname(__file__), |
90 sys.path.insert(2, os.path.join(os.path.dirname(__file__), |
89 "ThirdParty", "Pygments")) |
91 "ThirdParty", "Pygments")) |
90 sys.path.insert(2, os.path.join(os.path.dirname(__file__), |
92 sys.path.insert(2, os.path.join(os.path.dirname(__file__), |
91 "ThirdParty", "Jasy")) |
93 "ThirdParty", "Jasy")) |
|
94 sys.path.insert(2, os.path.join(os.path.dirname(__file__), |
|
95 "DebugClients", coverage)) |
92 |
96 |
93 from E5Gui.E5Application import E5Application |
97 from E5Gui.E5Application import E5Application |
94 |
98 |
95 |
99 |
96 def handleSingleApplication(ddindex): |
100 def handleSingleApplication(ddindex): |