206 else: |
206 else: |
207 splash = SplashScreen() |
207 splash = SplashScreen() |
208 |
208 |
209 # modify the executable search path for the PyQt4 installer |
209 # modify the executable search path for the PyQt4 installer |
210 if Globals.isWindowsPlatform(): |
210 if Globals.isWindowsPlatform(): |
211 pyqtDataDir = os.path.join(Globals.getPythonModulesDirectory(), "PyQt4") |
211 pyqtDataDir = Globals.getPyQt4ModulesDirectory() |
212 if os.path.exists(os.path.join(pyqtDataDir, "bin")): |
212 if os.path.exists(os.path.join(pyqtDataDir, "bin")): |
213 path = os.path.join(pyqtDataDir, "bin") + os.pathsep + os.environ["PATH"] |
213 path = os.path.join(pyqtDataDir, "bin") + os.pathsep + os.environ["PATH"] |
214 else: |
214 else: |
215 path = pyqtDataDir + os.pathsep + os.environ["PATH"] |
215 path = pyqtDataDir + os.pathsep + os.environ["PATH"] |
216 os.environ["PATH"] = path |
216 os.environ["PATH"] = path |