aboutsummaryrefslogtreecommitdiffstats
path: root/examples/python-api/run.sh
diff options
context:
space:
mode:
Diffstat (limited to 'examples/python-api/run.sh')
-rwxr-xr-xexamples/python-api/run.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/examples/python-api/run.sh b/examples/python-api/run.sh
new file mode 100755
index 000000000..5852ea9ac
--- /dev/null
+++ b/examples/python-api/run.sh
@@ -0,0 +1,6 @@
+PYTHONPATH=`pwd`/../../:$PYTHONPATH
+mkdir -p out
+if [ ! -f ../../libyosys.so ]; then
+ make -C ../..
+fi
+python3.5 netlist_graph.py