Add another option to get python by using the unversioned name

This commit is contained in:
José Matos 2024-08-16 17:33:14 +01:00
parent 712600dd6c
commit 34a616bd91

View File

@ -128,6 +128,10 @@ static string const find_python_binary()
} }
} }
// last chance: try the unversioned name
if (command.empty())
command = python_call("python");
if (!command.empty()) if (!command.empty())
return command; return command;