Trying to fix Python 3.6 builds + tests

This commit is contained in:
Matthias Koefferlein 2024-01-25 13:35:23 +01:00
parent 139010686d
commit 4f9effab7e
2 changed files with 4 additions and 2 deletions

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
testdata/lym/m2.py vendored
View File

@ -1,6 +1,7 @@
import os
import inspect
import pya
def lineno():
return inspect.currentframe().f_back.f_lineno