eric6.py

changeset 4489
d0d6e4ad31bd
parent 4419
66be66ec3afc
child 4566
a2e8f3c420ec
child 4632
ca310db386ed
equal deleted inserted replaced
4481:456c58fc64b0 4489:d0d6e4ad31bd
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):

eric ide

mercurial