From 71865d8aa7ff544dbc59f9937d2d953c88ea38c5 Mon Sep 17 00:00:00 2001 From: Benjamin Dauvergne Date: Fri, 20 Sep 2013 23:38:41 +0200 Subject: [PATCH] debian: compute PROJECT_PATH relative to the wcsinst package --- debian/settings.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/debian/settings.py b/debian/settings.py index ed8da35..99627af 100644 --- a/debian/settings.py +++ b/debian/settings.py @@ -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(',') ]