mirror of
https://github.com/vmware/vsphere-automation-sdk-python.git
synced 2024-11-23 09:59:59 -05:00
14 lines
256 B
Bash
14 lines
256 B
Bash
|
#!/bin/bash
|
||
|
SCRIPTDIR=`dirname $0`
|
||
|
cd $SCRIPTDIR
|
||
|
PATHDIR=`pwd`
|
||
|
PROJECT_ROOT=$PATHDIR/..
|
||
|
SRCDIR=$PROJECT_ROOT/samples/src
|
||
|
LIBDIR=$PROJECT_ROOT/lib
|
||
|
|
||
|
# add the src directory to the python path
|
||
|
export PYTHONPATH=$PYTHONPATH:$SRCDIR
|
||
|
|
||
|
# run the sample
|
||
|
python $@
|