-
Notifications
You must be signed in to change notification settings - Fork 42
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
Better langNames default #107
Comments
From .deb and .rpm, that would be |
Hopefully |
This issue is about simply choosing a better default here: https://github.com/apertium/apertium-apy/blob/master/apertium_apy/apy.py#L185. (only if the |
So when a user does pip install on linux, it should automatically feed path to langNames.db? |
Ideally, yes. I think there's a function in |
So what I need to do is set 'default' to some other path instead of langNames.db |
What is the function of parse_argument()? How does it work |
The Python docs cover that. |
Okay I will go through them |
Right now, we get a default of
langNames.db
. However, apip install
or Debian install as well now will put it inside/usr/local/share/apertium-apy
. We should usepkg_resources
to guess the correct path (and continue supporting running directly from source). Until then, users will just have to feed it the correct path.cc @TinoDidriksen
The text was updated successfully, but these errors were encountered: