|
9 | 9 |
|
10 | 10 | DEBUG = True |
11 | 11 |
|
12 | | -# set only to True in DEBUG mode |
13 | | -DEBUG_MAIL = True |
14 | | -PROPAGATE_EXCEPTIONS = True |
15 | | -DISPLAY_EXCEPTIONS = True |
16 | 12 | DEBUG_PRINT = False |
17 | 13 |
|
18 | | -LOG_QUERIES = False |
19 | | - |
20 | 14 | # Either None (no timeout) or a positive integer. |
21 | | -# unix only |
| 15 | +# Unix only |
22 | 16 | TIMEOUT = None |
23 | 17 |
|
24 | 18 | # specifies a maximum recursion depth is safe for all Python environments |
|
29 | 23 | # historically 10000 was used on public mathics servers |
30 | 24 | MAX_STORED_SIZE = 10000 |
31 | 25 |
|
32 | | -ADMINS = (( "Admin", "[email protected]"),) |
33 | | -MANAGERS = ADMINS |
34 | | - |
35 | 26 | ROOT_DIR = pkg_resources.resource_filename("mathics", "") |
36 | 27 | if sys.platform.startswith("win"): |
37 | 28 | DATA_DIR = os.environ["APPDATA"].replace(os.sep, "/") + "/Python/Mathics/" |
|
40 | 31 | # if not path.exists(DATA_DIR): |
41 | 32 | # os.makedirs(DATA_DIR) |
42 | 33 |
|
| 34 | +# Location of internal document data. |
| 35 | +# NOTE: Storing this in JSON if possible would be preferable and faster |
| 36 | +DOC_DATA_PATH = os.path.join(DATA_DIR, "doc_data.pcl") |
| 37 | + |
43 | 38 | DOC_DIR = os.path.join(ROOT_DIR, "doc/documentation/") |
44 | | -DOC_DATA_PATH = os.path.join(ROOT_DIR, "doc/tex/doc_tex_data.pcl") |
45 | 39 | DOC_LATEX_FILE = os.path.join(ROOT_DIR, "doc/tex/documentation.tex") |
46 | 40 |
|
47 | | -# Local time zone for this installation. Choices can be found here: |
48 | | -# http://en.wikipedia.org/wiki/List_of_tz_zones_by_name |
49 | | -# although not all choices may be available on all operating systems. |
50 | | -# If running in a Windows environment this must be set to the same as your |
51 | | -# system time zone. |
52 | | -TIME_ZONE = "Europe/Vienna" |
53 | 41 |
|
54 | 42 | # Set this True if you prefer 12 hour time to be the default |
55 | 43 | TIME_12HOUR = False |
56 | 44 |
|
57 | | -# Language code for this installation. All choices can be found here: |
58 | | -# http://www.i18nguy.com/unicode/language-identifiers.html |
59 | | -LANGUAGE_CODE = "en-us" |
60 | | - |
61 | | -SITE_ID = 1 |
62 | | - |
63 | 45 | # Leave this True unless you have specific reason for not permitting |
64 | 46 | # users to access local files |
65 | 47 | ENABLE_FILES_MODULE = True |
|
0 commit comments