#!/usr/bin/python2.4
# -*- coding: utf8 -*-
#
# SWAML <http://swaml.berlios.de/>
# Semantic Web Archive of Mailing Lists
#
# This is just a wrapper script for the SWAML main Python program.
#
# Copyright (C) 2006 Sergio Fdez
#
# 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, 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 MERCHANTIBILITY
# or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
# for more details.

import sys

SWAML_PATH = '/usr/share/swaml/'
sys.path.append(SWAML_PATH)

try:
	from swaml import SWAML
	sys.exit(SWAML(sys.argv[1:], SWAML_PATH))
except ImportError:
	print 'SWAML cannot be found; please, ensure that it is installed correctly.'
	sys.exit(1)
