280 exeModule=["-m", "pip"], |
280 exeModule=["-m", "pip"], |
281 ) |
281 ) |
282 |
282 |
283 # 6. do the spell checking entry |
283 # 6. do the spell checking entry |
284 try: |
284 try: |
285 import enchant # __IGNORE_WARNING_I10__ |
285 import enchant # __IGNORE_WARNING_I-10__ |
286 |
286 |
287 try: |
287 try: |
288 text = os.path.dirname(enchant.__file__) |
288 text = os.path.dirname(enchant.__file__) |
289 except AttributeError: |
289 except AttributeError: |
290 text = "enchant" |
290 text = "enchant" |
297 version = "" |
297 version = "" |
298 self.__createEntry(self.tr("Spell Checker - PyEnchant"), text, version) |
298 self.__createEntry(self.tr("Spell Checker - PyEnchant"), text, version) |
299 |
299 |
300 # 7. do the pygments entry |
300 # 7. do the pygments entry |
301 try: |
301 try: |
302 import pygments # __IGNORE_WARNING_I10__ |
302 import pygments # __IGNORE_WARNING_I-10__ |
303 |
303 |
304 try: |
304 try: |
305 text = os.path.dirname(pygments.__file__) |
305 text = os.path.dirname(pygments.__file__) |
306 except AttributeError: |
306 except AttributeError: |
307 text = "pygments" |
307 text = "pygments" |