Preferences/ProgramsDialog.py

changeset 6527
402067bb8029
parent 6291
94e0e688dcad
child 6645
ad476851d7e0
equal deleted inserted replaced
6520:a920f2ca8f5f 6527:402067bb8029
218 # 5. do the CORBA and Protobuf programs 218 # 5. do the CORBA and Protobuf programs
219 # 5a. omniORB 219 # 5a. omniORB
220 exe = Preferences.getCorba("omniidl") 220 exe = Preferences.getCorba("omniidl")
221 if not exe: 221 if not exe:
222 exe = "omniidl" 222 exe = "omniidl"
223 if Utilities.isWindowsPlatform(): 223 if Utilities.isWindowsPlatform():
224 exe += ".exe" 224 exe += ".exe"
225 self.__createProgramEntry( 225 self.__createProgramEntry(
226 self.tr("CORBA IDL Compiler"), exe, '-V', 'omniidl', -1) 226 self.tr("CORBA IDL Compiler"), exe, '-V', 'omniidl', -1)
227 # 5b. protobuf 227 # 5b. protobuf
228 exe = Preferences.getProtobuf("protoc") 228 exe = Preferences.getProtobuf("protoc")
229 if not exe: 229 if not exe:
230 exe = "protoc" 230 exe = "protoc"
231 if Utilities.isWindowsPlatform(): 231 if Utilities.isWindowsPlatform():
232 exe += ".exe" 232 exe += ".exe"
233 self.__createProgramEntry( 233 self.__createProgramEntry(
234 self.tr("Protobuf Compiler"), exe, '--version', 'libprotoc', -1) 234 self.tr("Protobuf Compiler"), exe, '--version', 'libprotoc', -1)
235 # 5c. grpc 235 # 5c. grpc
236 exe = Preferences.getProtobuf("grpcPython") 236 exe = Preferences.getProtobuf("grpcPython")
237 if not exe: 237 if not exe:

eric ide

mercurial