QScintilla/APIsManager.py

branch
5_3_x
changeset 2611
dd77cc80e343
parent 2302
f29e9405c851
child 2614
9c49b4419ea7
child 3094
f453f3040984
equal deleted inserted replaced
2604:3f785deb97eb 2611:dd77cc80e343
164 164
165 @return list of installed API files (list of strings) 165 @return list of installed API files (list of strings)
166 """ 166 """
167 if self.__apis is not None: 167 if self.__apis is not None:
168 if Utilities.isWindowsPlatform(): 168 if Utilities.isWindowsPlatform():
169 from PyQt4 import pyqtconfig 169 qsciPath = os.path.join(Utilities.getPythonModulesDirectory(),
170 qsciPath = os.path.join(pyqtconfig._pkg_config["pyqt_mod_dir"], "qsci") 170 "PyQt4", "qsci")
171 if os.path.exists(qsciPath): 171 if os.path.exists(qsciPath):
172 # it's the installer 172 # it's the installer
173 apidir = os.path.join(qsciPath, "api", self.__lexer.lexer()) 173 apidir = os.path.join(qsciPath, "api", self.__lexer.lexer())
174 fnames = [] 174 fnames = []
175 filist = QDir(apidir).entryInfoList(["*.api"], QDir.Files, 175 filist = QDir(apidir).entryInfoList(["*.api"], QDir.Files,

eric ide

mercurial