summaryrefslogtreecommitdiff
path: root/portato/constants.py
diff options
context:
space:
mode:
authorNecoro <>2007-09-30 21:10:52 +0000
committerNecoro <>2007-09-30 21:10:52 +0000
commitacf288dcc9c0b6ecfe18784ddadfdbdd5a255e7b (patch)
treeaeb6929260446ea2559f86708b33d5f3f9ecf885 /portato/constants.py
parent1566b3f4ff730c7e3c261751202ea5593e0705d9 (diff)
downloadportato-acf288dcc9c0b6ecfe18784ddadfdbdd5a255e7b.tar.gz
portato-acf288dcc9c0b6ecfe18784ddadfdbdd5a255e7b.tar.bz2
portato-acf288dcc9c0b6ecfe18784ddadfdbdd5a255e7b.zip
add support for "--with-bdeps"
Diffstat (limited to '')
-rw-r--r--portato/constants.py5
1 files changed, 5 insertions, 0 deletions
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")