# -*- coding:utf-8 -*- ## src/common/defs.py ## ## Copyright (C) 2006 Nikos Kouremenos ## Copyright (C) 2006-2010 Yann Leboulanger ## Copyright (C) 2006-2008 Jean-Marie Traissard ## Copyright (C) 2007 Brendan Taylor ## Tomasz Melcer ## Copyright (C) 2008 Jonathan Schleifer ## ## This file is part of Gajim. ## ## Gajim 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; version 3 only. ## ## Gajim 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 General Public License for more details. ## ## You should have received a copy of the GNU General Public License ## along with Gajim. If not, see . ## docdir = '../' basedir = '../' localedir = '../po' version = '0.13.90' import subprocess try: hgversion = subprocess.Popen('hexdump -n6 -e\'6/1 "%02x"\' ../.hg/dirstate', shell=True, stdout=subprocess.PIPE).communicate()[0] version += '-' + hgversion except Exception: pass import sys, os.path for base in ('.', 'common'): sys.path.append(os.path.join(base, '.libs'))