#!/bin/sh
# File:        runPy2C
# Copyright:   (c) 2001 The Regents of the University of California
# Description: Set environment variables and run python
# Revision:    $Revision: 4302 $
# Date:        $Date: 2005-01-12 16:15:29 -0800 (Wed, 12 Jan 2005) $
#

PYTHON=PYTHONEXEC
case "`uname`" in
  CYGWIN*) cygwin=true;;
  *) cygwin=false;;
esac

PYTHONPATH=PYTHONDIR:../../libPython:../../../../runtime/python
SIDL_DLL_PATH="../../libPython/libImpl.scl;../../libPython/libImplPy.scl;../../../../runtime/sidl/libImpl.scl;../../../output/libC/libOutput.scl"
SHARED_LIB_VAR=../../../../runtime/sidl/.libs:../../../../runtime/sidlx/.libs:PYTHONLIB:${SHARED_LIB_VAR}
export PYTHONPATH SIDL_DLL_PATH SHARED_LIB_VAR 

if $cygwin; then
  PATH=$PATH:PYTHONLIB:PYTHONLIB/../bin
  export PATH
fi

$PYTHON inherittest
