]> git.lyx.org Git - features.git/commit
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)
committerJean-Marc Lasgouttes <lasgouttes@lyx.org>
Thu, 18 Jun 2020 13:48:33 +0000 (15:48 +0200)
commit753fceb86d15fad68b29e9196ace2a2460a04c7b
tree2d89410faf48f05a79339c873a25005fc118e8fd
parent2e9d8957c1111d2a92c42c32c6ab49b03b2fe879
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