edmundmok / mealpy

Order your meals on MealPal automatically!
MIT License
28 stars 22 forks source link

Move configs to XDG directories #27

Closed ipwnponies closed 5 years ago

ipwnponies commented 5 years ago

This change will put files into XDG directories (by default $HOME/.{config,cache,local}). This keeps the deployment clean, as user does not need to maintain stateful files in the install directory, they can simply clobber it if they want to update. And gives user ability to configure where their configs live.

I switched over to using pathlib, which is the spiritual successor to os.path. Like subprocess, system, popen, it's all a hot mess of history and baggage.

Fixes #22