mirror of https://github.com/KLayout/klayout.git
WIP: Fixed Python 2 build and import.
This commit is contained in:
parent
bfbd8732f3
commit
a522a14109
|
|
@ -71,6 +71,7 @@ equals(HAVE_QTBINDINGS, "1") {
|
|||
SUBDIRS += gsiqt
|
||||
gsiqt.depends += gsi
|
||||
laybasic.depends += gsiqt
|
||||
pymod.depends += gsiqt
|
||||
}
|
||||
|
||||
plugins.depends += lay ext lib
|
||||
|
|
|
|||
|
|
@ -39,8 +39,7 @@ static PyObject *
|
|||
module_init (const char *mod_name, const char *mod_description)
|
||||
{
|
||||
static pya::PythonModule module;
|
||||
std::string mod_qname (std::string ("klayout.") + mod_name);
|
||||
std::string import_text ("'import " + mod_qname + "'");
|
||||
std::string mod_qname (std::string ("pykl.") + mod_name);
|
||||
|
||||
PYA_TRY
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue