diff options
Diffstat (limited to 'mu4web/__init__.py')
-rw-r--r-- | mu4web/__init__.py | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/mu4web/__init__.py b/mu4web/__init__.py index cb6f3fc..d561aa4 100644 --- a/mu4web/__init__.py +++ b/mu4web/__init__.py @@ -5,4 +5,20 @@ Mu4web is a web frontend to the mu mail indexer (can be found by searching for mu4e, which also inspired the name). """ +import xdg.BaseDirectory +import os.path + VERSION = "0.1" +""" +Software version. Everything else referencing the version should reference this field. +""" + +cache_dir = xdg.BaseDirectory.save_cache_path('mu4web') +""" +Directory for cache files. +""" + +message_db = os.path.join(cache_dir, "message-relations.db") +""" +Path to database holding relations between messages. +""" |