[LyX/master] Add a comment for Python binary names.

José Matos jaomatos at gmail.com
Tue Sep 10 10:18:49 UTC 2024


On Mon, 2024-09-09 at 21:45 +0000, Thibaut Cuvelier wrote:
> commit e1efc709592c2572b9f9bf24a41eb6835a81057b
> Author: Thibaut Cuvelier <tcuvelier at lyx.org>
> Date:   Mon Sep 9 23:31:53 2024 +0200
> 
>     Add a comment for Python binary names.
> ---
>  src/support/os.cpp | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/src/support/os.cpp b/src/support/os.cpp
> index 9a901cfd02..d34adee420 100644
> --- a/src/support/os.cpp
> +++ b/src/support/os.cpp
> @@ -129,6 +129,7 @@ static string const find_python_binary()
>  	}
>  
>  	// last chance: try the unversioned name
> +	// This case is very common on Windows.
>  	if (command.empty())
>  	  command = python_call("python");
>  

I do not understand windows but why is not the Python Launcher for
Windows installed?
https://docs.python.org/3/using/windows.html#launcher

And we test that before if we are on windows.
I would expect for this to be more common case, what is the shortcoming
for it not to be installed? I am curious. :-)

Regards,
-- 
José Abílio


More information about the lyx-devel mailing list