eric5.py

changeset 996
5eddcfeb8948
parent 945
8cd4d08fa9f6
child 1310
7fdcfa822e3e
equal deleted inserted replaced
994:8ed60a191a3a 996:5eddcfeb8948
201 try: 201 try:
202 from PyQt4 import pyqtconfig 202 from PyQt4 import pyqtconfig
203 pyqtDataDir = pyqtconfig._pkg_config["pyqt_mod_dir"] 203 pyqtDataDir = pyqtconfig._pkg_config["pyqt_mod_dir"]
204 if os.path.exists(os.path.join(pyqtDataDir, "bin")): 204 if os.path.exists(os.path.join(pyqtDataDir, "bin")):
205 path = os.path.join(pyqtDataDir, "bin") + os.pathsep + os.environ["PATH"] 205 path = os.path.join(pyqtDataDir, "bin") + os.pathsep + os.environ["PATH"]
206 os.environ["PATH"] = path 206 else:
207 path = pyqtDataDir + os.pathsep + os.environ["PATH"]
208 os.environ["PATH"] = path
207 except (AttributeError, ImportError): 209 except (AttributeError, ImportError):
208 pass 210 pass
209 211
210 pluginFile = None 212 pluginFile = None
211 noopen = False 213 noopen = False

eric ide

mercurial