Merge branch 'master' into drc-kissing-corners

This commit is contained in:
Matthias Koefferlein
2024-01-25 13:35:47 +01:00
2 changed files with 4 additions and 2 deletions
+3 -2
View File
@@ -251,8 +251,9 @@ PythonInterpreter::PythonInterpreter (bool embedded)
if (! has_klayout_pythonhome) {
// Use our own installation path for PYTHOHOME unless given
Py_SetPythonHome (tl::to_wstring (inst_dir).c_str ());
// Use our own installation path for PYTHONHOME unless given
// (Our Windows installation comes with its own copy of the libraries)
tl::set_env (pythonhome_name, inst_dir);
}
+1
View File
@@ -1,6 +1,7 @@
import os
import inspect
import pya
def lineno():
return inspect.currentframe().f_back.f_lineno