Closed garybake closed 1 year ago
Maybe it's not a good idea to store this data in the user profile at all. The behavior to save something in a user directory is somewhat a surprise. It would make much sense to store it a in "site-packages" subfolder.
This way, it would work correctly with python virtual environments.
Thanks for the suggestion and PR! Changed the default location to ~/.cache/pgeocode
which is a more standard location. That's for instance what pip does for downloaded wheels.
It would make much sense to store it a in "site-packages" subfolder.
I don't think it's a very common practice to manually put downloaded files into site-packages
so I'll keep it as is for now.
This is mostly for unix-like environments. By having the folder starting with a dot will make the folder hidden. I dislike having a load of folders in my home directory and this hides it away.