This change makes ID2T use the "pyxdg" python library to determine where to place the databases and the query history file. After reading the XDG Base Directory Specification, I figured that $XDG_CACHE_HOME (which defaults to ~/.cache) would be the correct place to put these files.
I also verified that it works correctly on macOS (in fact, some macOS programs also put their data there).
This change makes ID2T use the "pyxdg" python library to determine where to place the databases and the query history file. After reading the XDG Base Directory Specification, I figured that $XDG_CACHE_HOME (which defaults to ~/.cache) would be the correct place to put these files.
I also verified that it works correctly on macOS (in fact, some macOS programs also put their data there).
This fixes #71.
This change makes ID2T use the "pyxdg" python library to determine where to place the databases and the query history file. After reading the XDG Base Directory Specification, I figured that $XDG_CACHE_HOME (which defaults to ~/.cache) would be the correct place to put these files.
I also verified that it works correctly on macOS (in fact, some macOS programs also put their data there).
This fixes #71.
I agree that $XDG_CACHE_HOME is the right place.