blob: 9c5b6fd5120995fde73e53ae3cf740e7e07c3d16 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
import os
import sys
modpath = __file__
# Turn pyc files into py files if we can
if modpath.endswith('.pyc') and os.path.exists(modpath[:-1]):
modpath = modpath[:-1]
# Sort out symlinks
APP_DIR = os.path.realpath(os.path.dirname(modpath))
REDIS_HOST = 'localhost'
debug = True
|