MacPorts enchant: how do I add more providers?

24 views
Skip to first unread message

jens.t...@gmail.com

unread,
Jun 21, 2016, 4:37:54 PM6/21/16
to pyenchant users
Hi,

I'm using the standard py34-enchant port for MacPorts, but by default only "AppleSpell" is used as a provider:

>>> import enchant
>>> d = enchant.Dict('en-US')
>>> d.provider
<Enchant: AppleSpell Provider>
>>> d.provider.file
'/opt/local/lib/enchant/libenchant_applespell.so'
>>> enchant.Broker().describe()
[<Enchant: AppleSpell Provider>]

How can I build enchant such that aspell and/or hunspell are accessible providers? Both are installed in my MacPorts tree. Or how do I add them as providers?

Thanks!
Jens
Reply all
Reply to author
Forward
0 new messages