PluginProjectPyramid.py

changeset 21
e58828e9a847
parent 19
f4adfe6e51b0
child 22
c358b356b214
equal deleted inserted replaced
20:3c98d944e673 21:e58828e9a847
27 # Start-of-Header 27 # Start-of-Header
28 name = "Pyramid Project Plugin" 28 name = "Pyramid Project Plugin"
29 author = "Detlev Offenbach <detlev@die-offenbachs.de>" 29 author = "Detlev Offenbach <detlev@die-offenbachs.de>"
30 autoactivate = True 30 autoactivate = True
31 deactivateable = True 31 deactivateable = True
32 version = "0.1.0" 32 version = "0.2.0"
33 className = "ProjectPyramidPlugin" 33 className = "ProjectPyramidPlugin"
34 packageName = "ProjectPyramid" 34 packageName = "ProjectPyramid"
35 shortDescription = "Project support for Pyramid projects." 35 shortDescription = "Project support for Pyramid projects."
36 longDescription = """This plugin implements project support for Pyramid projects.""" 36 longDescription = """This plugin implements project support for Pyramid projects."""
37 needsRestart = False 37 needsRestart = False
124 "Python2ConsoleType": "python", 124 "Python2ConsoleType": "python",
125 "Python3ConsoleType": "python", 125 "Python3ConsoleType": "python",
126 "PyramidDocUrl": "http://docs.pylonsproject.org/en/latest/docs/pyramid.html", 126 "PyramidDocUrl": "http://docs.pylonsproject.org/en/latest/docs/pyramid.html",
127 } 127 }
128 if isWindowsPlatform(): 128 if isWindowsPlatform():
129 self.__defaults["ConsoleCommandNoClose"] = "cmd.exe /k"
130 self.__defaults["ConsoleCommand"] = "cmd.exe /c" 129 self.__defaults["ConsoleCommand"] = "cmd.exe /c"
131 elif isMacPlatform(): 130 elif isMacPlatform():
132 self.__defaults["ConsoleCommandNoClose"] = "xterm -hold -e"
133 self.__defaults["ConsoleCommand"] = "xterm -e" 131 self.__defaults["ConsoleCommand"] = "xterm -e"
134 else: 132 else:
135 self.__defaults["ConsoleCommandNoClose"] = "konsole --noclose -e"
136 self.__defaults["ConsoleCommand"] = "konsole -e" 133 self.__defaults["ConsoleCommand"] = "konsole -e"
137 134
138 self.__translator = None 135 self.__translator = None
139 self.__loadTranslator() 136 self.__loadTranslator()
140 137

eric ide

mercurial