aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/yosys.cc
diff options
context:
space:
mode:
authorBenedikt Tutzer <e1225461@student.tuwien.ac.at>2018-08-20 15:27:50 +0200
committerBenedikt Tutzer <e1225461@student.tuwien.ac.at>2018-08-20 15:27:50 +0200
commitd41c68ee5ad908db1dd75552816789e493d011bf (patch)
treec0c58433fd975e5a2f07721818c21d905614ebfa /kernel/yosys.cc
parent6d18837d62436b297b34c20d5a005ef0b6a75da2 (diff)
downloadyosys-d41c68ee5ad908db1dd75552816789e493d011bf.tar.gz
yosys-d41c68ee5ad908db1dd75552816789e493d011bf.tar.bz2
yosys-d41c68ee5ad908db1dd75552816789e493d011bf.zip
The share directory cannot be searched when used as a Python library, only in shell mode
Diffstat (limited to 'kernel/yosys.cc')
-rw-r--r--kernel/yosys.cc1
1 files changed, 0 insertions, 1 deletions
diff --git a/kernel/yosys.cc b/kernel/yosys.cc
index e36c68752..a6d09c077 100644
--- a/kernel/yosys.cc
+++ b/kernel/yosys.cc
@@ -495,7 +495,6 @@ void yosys_setup()
PyImport_AppendInittab((char*)"libyosys", INIT_MODULE);
Py_Initialize();
PyRun_SimpleString("import sys");
- PyRun_SimpleString(("sys.path.append(\""+proc_share_dirname()+"plugins\")").c_str());
#endif
Pass::init_register();