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" |