aboutsummaryrefslogtreecommitdiff
path: root/mu4web/__init__.py
blob: d561aa4cf68b79b780fada753683ab327b4d2fd1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
"""
Mu4web init file.

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.
"""