PluginApis.py

changeset 6
89b4debad1df
parent 4
a27bb7a06650
child 8
450c1914893d
equal deleted inserted replaced
5:d4b748c8d6e2 6:89b4debad1df
17 # Start-of-Header 17 # Start-of-Header
18 name = "APIs Plugin" 18 name = "APIs Plugin"
19 author = "Detlev Offenbach <detlev@die-offenbachs.de>" 19 author = "Detlev Offenbach <detlev@die-offenbachs.de>"
20 autoactivate = True 20 autoactivate = True
21 deactivateable = True 21 deactivateable = True
22 version = "1.1.0" 22 version = "1.1.1"
23 className = "PluginApis" 23 className = "PluginApis"
24 packageName = "APIs" 24 packageName = "APIs"
25 shortDescription = "API files for auto-completion and call tips." 25 shortDescription = "API files for auto-completion and call tips."
26 longDescription = """This plug-in provides API files for auto-completion""" \ 26 longDescription = \
27 """This plug-in provides API files for auto-completion""" \
27 """ and call tips that are often missing from distribution packages.""" 28 """ and call tips that are often missing from distribution packages."""
28 needsRestart = False 29 needsRestart = False
29 pyqtApi = 2 30 pyqtApi = 2
30 # End-of-Header 31 # End-of-Header
31 32
34 35
35 def apiFiles(language): 36 def apiFiles(language):
36 """ 37 """
37 Module function to return the API files made available by this plugin. 38 Module function to return the API files made available by this plugin.
38 39
40 @param language language to get APIs for (string)
39 @return list of API filenames (list of string) 41 @return list of API filenames (list of string)
40 """ 42 """
41 if language in ["Python3", "Python2", "Python"]: 43 if language in ["Python3", "Python2", "Python"]:
42 apisDir = \ 44 apisDir = \
43 os.path.join(os.path.dirname(__file__), "APIs", "Python") 45 os.path.join(os.path.dirname(__file__), "APIs", "Python")

eric ide

mercurial