aboutsummaryrefslogtreecommitdiff
path: root/devel/py-appdirs/pkg-descr
blob: 3b7d2ff5f5f1a0dcc15a9020fcdfcbe391971ad8 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
appdirs is small Python module for determining appropriate platform-specific
dirs, e.g. a "user data dir". Those are typically platform-specific, for
instance, if running on Mac OS X, you should use:

~/Library/Application Support/<AppName>

On Linux (and other Unices) the dir, according to the XDG spec, is:

~/.local/share/<AppName>

appdirs will help the application to choose an appropriate:
- user data dir (user_data_dir)
- user config dir (user_config_dir)
- user cache dir (user_cache_dir)
- site data dir (site_data_dir)
- site config dir (site_config_dir)
- user log dir (user_log_dir)

WWW: https://github.com/ActiveState/appdirs