From acf288dcc9c0b6ecfe18784ddadfdbdd5a255e7b Mon Sep 17 00:00:00 2001 From: Necoro <> Date: Sun, 30 Sep 2007 21:10:52 +0000 Subject: add support for "--with-bdeps" --- portato/constants.py | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'portato/constants.py') diff --git a/portato/constants.py b/portato/constants.py index 309b774..4d68ab5 100644 --- a/portato/constants.py +++ b/portato/constants.py @@ -43,11 +43,16 @@ These should be set during the installation. @var SOCKET: path to socket for communication between listener and GUI @type SOCKET: string """ +import os from os.path import join as pjoin +HOME = os.environ["HOME"] + APP = "portato" VERSION = "9999" +SETTINGS_DIR = pjoin(HOME, "."+APP) + CONFIG_DIR = "/etc/portato/" CONFIG_LOCATION = pjoin(CONFIG_DIR, "portato.cfg") -- cgit v1.2.3