From 80a4fc7e8412613b61a443590a5093d905ee9fae Mon Sep 17 00:00:00 2001 From: mrg Date: Fri, 18 Feb 2022 15:02:16 -0800 Subject: [PATCH] Add PYTHONPATH in setup file --- setpaths.sh | 7 +++++++ 1 file changed, 7 insertions(+) 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