#!/usr/bin/env python
# -*- coding: utf-8 -*-

# shadowloss: a stickman-oriented game against time
# Copyright (C) 2010  Niels Serup

# This file is part of shadowloss.
#
# shadowloss 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 3 of the License, or
# (at your option) any later version.
#
# shadowloss 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 shadowloss.  If not, see <http://www.gnu.org/licenses/>.

##[ Name        ]## scripts.shadowloss-local
##[ Maintainer  ]## Niels Serup <ns@metanohi.org>
##[ Description ]## Starts the shadowloss world without loading any
                  # eventual global package
##[ Start date  ]## 2010 September 17

# This script runs the shadowloss script, but it uses the local files
# even if shadowloss is installed. This makes developing easier.

import sys
import os.path
progdir = os.path.dirname(os.path.realpath(__file__))
basedir = os.path.split(progdir)[0]
sys.path.insert(0, basedir)

INSTALLED = False
execfile(os.path.join(progdir, 'shadowloss'))
