From 66094921c88e80187a712dca39e421a648d69198 Mon Sep 17 00:00:00 2001 From: mat Date: Tue, 21 Feb 2023 21:46:30 -0600 Subject: make metadata components clonable --- codegen/lib/extract.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'codegen/lib/extract.py') diff --git a/codegen/lib/extract.py b/codegen/lib/extract.py index 09035e86..6bf2d57f 100755 --- a/codegen/lib/extract.py +++ b/codegen/lib/extract.py @@ -54,7 +54,7 @@ def determine_python_command(): def try_python_command(version): return os.system(f'{version} --version') == 0 - for version in ('python3.9', 'python3.8', 'python3', 'python'): + for version in (sys.executable, 'python3.9', 'python3.8', 'python3', 'python'): if try_python_command(version): python_command = version return version -- cgit v1.2.3