-
-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Normalize default dictionary location as $PREFIX/share/hunspell
?
#12
Comments
$PREFIX/share/hunspell
?$PREFIX/share/hunspell
?
No idea where I got that path from conda-archive/conda-recipes@5a34409. I probably copied it from another package manager, but I might have also just made it up. |
Thanks for the history... good comments, too!
I am hoping the bit about paths relative to the binary is no longer true...
if we make the change, can certainly
shore up some tests to verify the behavior, even if it takes a few tries to
get it right.
|
If we're worried about breakage we could add a symlink. Might be good to check what path Linux package managers use. |
I guess rereading the comment I probably just made it up. But why are other packages using Also, assuming it hasn't, maybe it would be better to patch hunspell to add the path to the built-in list of paths rather than using the wrapper. The wrapper will break if someone wants to set a DICPATH of their own. |
other packages that want to work with hunspell put their dictionaries where
Yes, that would work, as we don't have a windows build yet. This was verified over on conda-forge/pyenchant-feedstock#1 (comment)
if you see a clear path to supporting both that won't break downstreams, i'd say go for it! |
Sorry, I mean why is enchant using |
Dunno, but:
|
Well I think making this change (with a symlink for backwards compatibility) is a good idea. The symlink might break other builds that are also making that same symlink, but that will be easy to fix. Longer term we should probably also try to update the package as I suggested here #12 (comment), or even upstream a fix to hunspell. |
Here is what works for me with using the current install of pyenchant:
I have a package that can use pyenchant. Do you suggest that I make the install of my package change the CONDA_PREFIX directory by adding the soft link above ? |
Comment:
It appears that the semi-arbitrary
${PREFIX}/share/hunspell_dictionaries
doesn't line up with other tools likeenchant
(as noted on conda-forge/pyenchant-feedstock#1), which expects${PREFIX}/share/hunspell
, nor doesDICPATH
support a delimited list of search paths.Making this change here would lead to breakage in a number of downstream feedstocks:
Of note (namely the ones I don't personally co-maintain):
The text was updated successfully, but these errors were encountered: