cihai / cihai
1
# -*- coding: utf8 - *-
2 2
from __future__ import unicode_literals
3

4
#: Default configuration
5 2
DEFAULT_CONFIG = {
6
    "debug": False,
7
    "database": {"url": 'sqlite:///{user_data_dir}/cihai.db'},
8
    "dirs": {
9
        "cache": '{user_cache_dir}',
10
        "log": '{user_log_dir}',
11
        "data": '{user_data_dir}',
12
    },
13
}
14

15
#: User will be prompted to automatically configure their installation for UNIHAN
16 2
UNIHAN_CONFIG = {
17
    "datasets": {"unihan": "cihai.data.unihan.dataset.Unihan"},
18
    # Turn off by default for using as a plugin example in examples/
19
    # "plugins": {"unihan": {"variants": "cihai.data.unihan.dataset.UnihanVariants"}},
20
}

Read our documentation on viewing source code .

Loading