aboutsummaryrefslogtreecommitdiffstats
path: root/common/pybindings.cc
diff options
context:
space:
mode:
authorMiodrag Milanovic <mmicko@gmail.com>2018-06-28 16:22:46 +0200
committerMiodrag Milanovic <mmicko@gmail.com>2018-06-28 17:57:26 +0200
commit2037fff7426e252a8692b971f88689c1dd8c03e8 (patch)
treed02c57998932f700268f9f8d91fbacb1496891c3 /common/pybindings.cc
parent45032e22248caf8ba5c90aa1ed34e096a73aa999 (diff)
downloadnextpnr-2037fff7426e252a8692b971f88689c1dd8c03e8.tar.gz
nextpnr-2037fff7426e252a8692b971f88689c1dd8c03e8.tar.bz2
nextpnr-2037fff7426e252a8692b971f88689c1dd8c03e8.zip
remove emb.cc
Diffstat (limited to 'common/pybindings.cc')
-rw-r--r--common/pybindings.cc5
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)