config.py.in 1.84 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
# config.py - build time configuration
# Copyright (C) 2004, 2005  Philip Van Hoof <me at pvanhoof dot be>
# Copyright (C) 2004 - 2009 Gaute Hope <eg at gaute dot vetsj dot com>
# Copyright (C) 2004, 2005  Kristof Vansant <de_lupus at pandora dot be>
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU Library General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
Gaute Hope's avatar
Gaute Hope committed
18
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
19

20
version = "@VERSION@"
21
image_dir = "@prefix@/share/pixmaps/gnome-schedule"
22 23 24
gs_dir = "@prefix@/share/gnome-schedule"
glade_dir = gs_dir
xwrapper_exec = "PYTHONPATH=@PYTHONPATH@/gtk-2.0/:$PYTHONPATH @PYTHON@ @prefix@/share/gnome-schedule/xwrapper.py"
25
locale_dir = "@prefix@/share/locale"
26
crontabbin = "@CRONTAB_CONFIG@"
Philip Van Hoof's avatar
Philip Van Hoof committed
27
atbin = "@AT_CONFIG@"
28 29 30
atqbin = "@ATQ_CONFIG@"
atrmbin = "@ATRM_CONFIG@"
batchbin = "@BATCH_CONFIG@"
31
subin = "@SU_CONFIG@"
Gaute Hope's avatar
Gaute Hope committed
32 33 34 35
prefix = "@prefix@"

def getPrefix():
	return prefix
36 37 38

def getSubin ():
	return subin
Philip Van Hoof's avatar
Philip Van Hoof committed
39 40 41

def getAtbin ():
	return atbin
42

43 44 45 46 47 48 49 50 51
def getAtrmbin ():
	return atrmbin

def getAtqbin ():
	return atqbin

def getBatchbin ():
	return batchbin

52 53 54
def getCrontabbin ():
	return crontabbin

55 56 57 58 59 60 61 62 63
def getVersion ():
	return version

def getImagedir ():
	return image_dir

def getGladedir ():
	return glade_dir

64 65 66 67 68
def GETTEXT_PACKAGE():
	return "@GETTEXT_PACKAGE@"

def GNOMELOCALEDIR():
	return locale_dir