1
0
mirror of https://github.com/vmware/vsphere-automation-sdk-python.git synced 2024-11-30 04:10:00 -05:00
vsphere-automation-sdk-python/bin/run_sample.sh

14 lines
245 B
Bash
Raw Normal View History

2016-10-26 19:08:23 -04:00
#!/bin/bash
SCRIPTDIR=`dirname $0`
cd $SCRIPTDIR
PATHDIR=`pwd`
PROJECT_ROOT=$PATHDIR/..
2017-01-24 00:41:09 -05:00
SRCDIR=$PROJECT_ROOT/
2016-10-26 19:08:23 -04:00
LIBDIR=$PROJECT_ROOT/lib
# add the src directory to the python path
export PYTHONPATH=$PYTHONPATH:$SRCDIR
# run the sample
python $@