use python3-venv

This commit is contained in:
j 2017-11-02 21:08:17 +00:00
commit 8e4ba42fc1
13 changed files with 119 additions and 118 deletions

View file

@ -11,6 +11,9 @@ import djcelery
djcelery.setup_loader()
BASE_DIR = PROJECT_ROOT = normpath(dirname(__file__))
BIN_DIR = normpath(join(PROJECT_ROOT, '..', 'bin'))
if BIN_DIR not in os.environ['PATH']:
os.environ['PATH'] = BIN_DIR + os.pathsep + os.environ['PATH']
DEBUG = False
JSON_DEBUG = False