diff --git a/setpaths.sh b/setpaths.sh index 44485f14..280594f5 100755 --- a/setpaths.sh +++ b/setpaths.sh @@ -6,3 +6,10 @@ export OPENRAM_HOME="`pwd`/compiler" export OPENRAM_TECH="`pwd`/technology" +export PYTHONPATH=$OPENRAM_HOME +for dir in `pwd`/compiler/* +do + if [ -d $dir ]; then + export PYTHONPATH=$PYTHONPATH:$dir + fi; +done