#!/usr/bin/env python """XGngeo: a frontend for Gngeo in GTK. ^_^. Copyleft 2003, 2004, 2005, 2006 Choplair-network $Id: xgngeo_startup.py,v 1.2 2006/07/26 00:41:04 achraf Exp $ 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 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 Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. """ __author__ = "Choplair-network" __copyright__ = "Copyleft 2003, 2004, 2005, 2006 Choplair-network" __license__ = "GPL" __revision__ = "$Revision: 1.2 $" # $Source: /cvsroot/xgngeo/xgngeo/data/script/xgngeo_startup.py,v $ __date__ = "$Date: 2006/07/26 00:41:04 $" import sys import os.path package_dir = os.path.join(sys.prefix, "lib","python%s" % sys.version[:3], \ "site-packages", "xgngeo") #Append XGngeo's module directory to `sys.path'. sys.path.append(package_dir) #Launch the program! execfile(os.path.join(package_dir, "__init__.py"))