src/eric7/Preferences/ProgramsDialog.py

branch
eric7
changeset 9482
a2bc06a54d9d
parent 9473
3f23dbf37dbe
child 9559
34fc53e6159d
equal deleted inserted replaced
9481:0b936ff1bbb9 9482:a2bc06a54d9d
300 exeModule=["-m", "grpc_tools.protoc"], 300 exeModule=["-m", "grpc_tools.protoc"],
301 ) 301 )
302 302
303 # 7. do the spell checking entry 303 # 7. do the spell checking entry
304 try: 304 try:
305 import enchant 305 import enchant # __IGNORE_WARNING_I10__
306 306
307 try: 307 try:
308 text = os.path.dirname(enchant.__file__) 308 text = os.path.dirname(enchant.__file__)
309 except AttributeError: 309 except AttributeError:
310 text = "enchant" 310 text = "enchant"
317 version = "" 317 version = ""
318 self.__createEntry(self.tr("Spell Checker - PyEnchant"), text, version) 318 self.__createEntry(self.tr("Spell Checker - PyEnchant"), text, version)
319 319
320 # 8. do the pygments entry 320 # 8. do the pygments entry
321 try: 321 try:
322 import pygments 322 import pygments # __IGNORE_WARNING_I10__
323 323
324 try: 324 try:
325 text = os.path.dirname(pygments.__file__) 325 text = os.path.dirname(pygments.__file__)
326 except AttributeError: 326 except AttributeError:
327 text = "pygments" 327 text = "pygments"
364 -1, 364 -1,
365 ) 365 )
366 366
367 # 10. do the jedi related entries 367 # 10. do the jedi related entries
368 try: 368 try:
369 import jedi 369 import jedi # __IGNORE_WARNING_I10__
370 370
371 try: 371 try:
372 text = os.path.dirname(jedi.__file__) 372 text = os.path.dirname(jedi.__file__)
373 except AttributeError: 373 except AttributeError:
374 text = "jedi" 374 text = "jedi"

eric ide

mercurial