From 0a5308014f7226e4e303e2779a8177acea70c49c Mon Sep 17 00:00:00 2001 From: Eli Schwartz Date: Sun, 11 Sep 2022 22:11:10 -0400 Subject: [PATCH] BUG: fix native file override This attempted to override "python3", which Meson never used for find_installation. So the native file did nothing. Override the correct name. --- mesonpy/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Index: meson_python-0.8.1/mesonpy/__init__.py =================================================================== --- meson_python-0.8.1.orig/mesonpy/__init__.py +++ meson_python-0.8.1/mesonpy/__init__.py @@ -443,7 +443,7 @@ class Project(): # write the native file native_file_data = textwrap.dedent(f''' [binaries] - python3 = '{sys.executable}' + python = '{sys.executable}' ''') native_file_mismatch = ( not self._meson_native_file.exists()