]> git.lyx.org Git - lyx.git/commit - src/support/os.cpp
Divide the python detection in three functions, with a clear delegation of responsibi...
authorJosé Matos <jamatos@lyx.org>
Sat, 8 Jun 2019 11:49:30 +0000 (12:49 +0100)
committerJosé Matos <jamatos@lyx.org>
Sat, 8 Jun 2019 11:49:30 +0000 (12:49 +0100)
commitad96fd835b9719a5af8f742a17156c718320e852
tree85bd6a363cfb2005f680ef97244da0f4385383f7
parent02ee471d9d686499ba9d5d24609394388d0754bf
Divide the python detection in three functions, with a clear delegation of responsibilities

python23_call: determines if the binary given is appropriate and adds the necessary calling options

find_python_binary: get a list of candidates and choose the right one using python23_call

python: returns the name of the python interpreter that can be found on PATH, using find_python_binary
src/support/os.cpp