From 6551dd04e4b286317cda09f990c7b5ef37da14ff Mon Sep 17 00:00:00 2001 From: Thomas Nagy Date: Sat, 31 Dec 2022 09:53:59 +0100 Subject: [PATCH] Distutils removal in Python 3.12: set the correct Python arch dir --- waflib/Tools/python.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/waflib/Tools/python.py b/waflib/Tools/python.py index 033244ee..287c9214 100644 --- a/waflib/Tools/python.py +++ b/waflib/Tools/python.py @@ -59,7 +59,7 @@ try: except ImportError: from sysconfig import get_config_var, get_path def get_python_lib(*k, **kw): - keyword='stdlib' if kw.get('plat_specific') else 'platstdlib' + keyword='purelib' if kw.get('plat_specific') else 'platlib' if 'prefix' in kw: return get_path(keyword, vars={'installed_base': kw['prefix'], 'platbase': kw['prefix']}) return get_path(keyword)