debian: compute PROJECT_PATH relative to the wcsinst package

This commit is contained in:
Benjamin Dauvergne 2013-09-20 23:38:41 +02:00
parent 35d82acd26
commit 71865d8aa7
1 changed files with 2 additions and 1 deletions

3
debian/settings.py vendored
View File

@ -3,12 +3,13 @@
import os
import json
import logging.handlers
import wcsinst
DEBUG = True
TEMPLATE_DEBUG = DEBUG
VAR_DIR = '/var/lib/wcsinstd'
PROJECT_PATH = os.path.dirname(__file__)
PROJECT_PATH = os.path.dirname(wcsinst.__file__)
if 'ADMINS' in os.environ:
ADMINS = [ x.split(';') for x in os.environ['ADMINS'].split(',') ]