#!/bin/sh
#
# License: MIT (see license.txt)
# THIS PROGRAM COMES WITH NO WARRANTY
#
# Copyright 2011-2013 Carsten Grohmann
#
# Shell script to start wxGlade

PYTHON_BIN=/usr/local/bin/python2.7

${PYTHON_BIN} --version > /dev/null 2>&1
if [ $? -ne 0 ]; then
  echo "ERROR: Python interpreter \"${PYTHON_BIN}\" found!"
  exit 1
fi

WXG_PATH=/usr/local/lib/python2.7/site-packages/wxglade/wxglade.py

# exec wxGlade
exec ${PYTHON_BIN} "${WXG_PATH}" "$@"
