diff options
author | Miodrag Milanovic <mmicko@gmail.com> | 2018-06-28 16:22:46 +0200 |
---|---|---|
committer | Miodrag Milanovic <mmicko@gmail.com> | 2018-06-28 17:57:26 +0200 |
commit | 2037fff7426e252a8692b971f88689c1dd8c03e8 (patch) | |
tree | d02c57998932f700268f9f8d91fbacb1496891c3 /common/pybindings.cc | |
parent | 45032e22248caf8ba5c90aa1ed34e096a73aa999 (diff) | |
download | nextpnr-2037fff7426e252a8692b971f88689c1dd8c03e8.tar.gz nextpnr-2037fff7426e252a8692b971f88689c1dd8c03e8.tar.bz2 nextpnr-2037fff7426e252a8692b971f88689c1dd8c03e8.zip |
remove emb.cc
Diffstat (limited to 'common/pybindings.cc')
-rw-r--r-- | common/pybindings.cc | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/common/pybindings.cc b/common/pybindings.cc index 6441dc01..e9ceca51 100644 --- a/common/pybindings.cc +++ b/common/pybindings.cc @@ -21,7 +21,6 @@ #ifndef NO_PYTHON #include "pybindings.h" -#include "emb.h" #include "jsonparse.h" #include "nextpnr.h" @@ -138,10 +137,8 @@ void init_python(const char *executable, bool first) exit(1); } try { - if (first) { + if (first) PyImport_AppendInittab(TOSTRING(MODULE_NAME), PYINIT_MODULE_NAME); - emb::append_inittab(); - } Py_SetProgramName(program); Py_Initialize(); if (first) |