Preferences/ProgramsDialog.py

branch
Py2 comp.
changeset 2791
a9577f248f04
parent 2677
3d4277929fb3
parent 2737
dbe5497851fa
child 3057
10516539f238
equal deleted inserted replaced
2790:6686a3326df8 2791:a9577f248f04
119 Utilities.generateQtToolName("assistant")) 119 Utilities.generateQtToolName("assistant"))
120 self.__createProgramEntry(self.trUtf8("Qt Assistant"), exe, version=version) 120 self.__createProgramEntry(self.trUtf8("Qt Assistant"), exe, version=version)
121 121
122 # 2. do the PyQt programs 122 # 2. do the PyQt programs
123 # 2a. Translation Extractor PyQt4 123 # 2a. Translation Extractor PyQt4
124 self.__createProgramEntry(self.trUtf8("Translation Extractor (Python, Qt)"), 124 self.__createProgramEntry(self.trUtf8("Translation Extractor (Python, PyQt4)"),
125 Utilities.isWindowsPlatform() and "pylupdate4.exe" or "pylupdate4", 125 Utilities.isWindowsPlatform() and "pylupdate4.exe" or "pylupdate4",
126 '-version', 'pylupdate', -1) 126 '-version', 'pylupdate', -1)
127 # 2b. Forms Compiler PyQt4 127 # 2b. Forms Compiler PyQt4
128 self.__createProgramEntry(self.trUtf8("Forms Compiler (Python, Qt)"), 128 self.__createProgramEntry(self.trUtf8("Forms Compiler (Python, PyQt4)"),
129 Utilities.isWindowsPlatform() and "pyuic4.bat" or "pyuic4", 129 Utilities.isWindowsPlatform() and "pyuic4.bat" or "pyuic4",
130 '--version', 'Python User', 4) 130 '--version', 'Python User', 4)
131 # 2c. Resource Compiler PyQt4 131 # 2c. Resource Compiler PyQt4
132 self.__createProgramEntry(self.trUtf8("Resource Compiler (Python, Qt)"), 132 self.__createProgramEntry(self.trUtf8("Resource Compiler (Python, PyQt4)"),
133 Utilities.isWindowsPlatform() and "pyrcc4.exe" or "pyrcc4", 133 Utilities.isWindowsPlatform() and "pyrcc4.exe" or "pyrcc4",
134 '-version', 'Resource Compiler', -1)
135 # 2d. Translation Extractor PyQt5
136 self.__createProgramEntry(self.trUtf8("Translation Extractor (Python, PyQt5)"),
137 Utilities.isWindowsPlatform() and "pylupdate5.exe" or "pylupdate5",
138 '-version', 'pylupdate', -1)
139 # 2e. Forms Compiler PyQt4
140 self.__createProgramEntry(self.trUtf8("Forms Compiler (Python, PyQt5)"),
141 Utilities.isWindowsPlatform() and "pyuic5.bat" or "pyuic5",
142 '--version', 'Python User', 4)
143 # 2f. Resource Compiler PyQt4
144 self.__createProgramEntry(self.trUtf8("Resource Compiler (Python, PyQt5)"),
145 Utilities.isWindowsPlatform() and "pyrcc5.exe" or "pyrcc5",
134 '-version', 'Resource Compiler', -1) 146 '-version', 'Resource Compiler', -1)
135 147
136 # 3. do the PySide programs 148 # 3. do the PySide programs
137 # 3a. Translation Extractor PySide 149 # 3a. Translation Extractor PySide
138 self.__createProgramEntry(self.trUtf8("Translation Extractor (Python, PySide)"), 150 self.__createProgramEntry(self.trUtf8("Translation Extractor (Python, PySide)"),

eric ide

mercurial