mirror of https://github.com/KLayout/klayout.git
Trying to fix Python 3.6 builds + tests
This commit is contained in:
parent
139010686d
commit
4f9effab7e
|
|
@ -251,8 +251,9 @@ PythonInterpreter::PythonInterpreter (bool embedded)
|
||||||
|
|
||||||
if (! has_klayout_pythonhome) {
|
if (! has_klayout_pythonhome) {
|
||||||
|
|
||||||
// Use our own installation path for PYTHOHOME unless given
|
// Use our own installation path for PYTHONHOME unless given
|
||||||
Py_SetPythonHome (tl::to_wstring (inst_dir).c_str ());
|
// (Our Windows installation comes with its own copy of the libraries)
|
||||||
|
tl::set_env (pythonhome_name, inst_dir);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,7 @@
|
||||||
|
|
||||||
import os
|
import os
|
||||||
import inspect
|
import inspect
|
||||||
|
import pya
|
||||||
|
|
||||||
def lineno():
|
def lineno():
|
||||||
return inspect.currentframe().f_back.f_lineno
|
return inspect.currentframe().f_back.f_lineno
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue