#!/bin/sh
# File:        runPy2C
# Copyright:   (c) 2001 The Regents of the University of California
# Description: Set environment variables and run python
# Revision:    $Revision: 3795 $
# Date:        $Date: 2004-07-23 15:59:29 -0700 (Fri, 23 Jul 2004) $
#

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=PYTHONLIB:${SHARED_LIB_VAR}
export PYTHONPATH SIDL_DLL_PATH SHARED_LIB_VAR 

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

$PYTHON orderingtest
