autocmake icon indicating copy to clipboard operation
autocmake copied to clipboard

setup not showing the default python interpeter

Open miroi opened this issue 2 years ago • 1 comments

Hello !

setup is not showing the default python interpreter on the server - here is the example from DIRAC:

[email protected]:~/work/software/theoretical_chemistry/dirac/dirac/../setup --help
.
.
.
--python=<PYTHON_INTERPRETER>          The Python interpreter (development version) to use. [default: ''].
[email protected]:~/work/software/theoretical_chemistry/dirac/dirac/.git grep PYTHON_INTERPRETER
cmake/downloaded/autocmake_python_interpreter.cmake:#   PYTHON_INTERPRETER         - User-set path to the Python interpreter
cmake/downloaded/autocmake_python_interpreter.cmake:#   docopt: "--python=<PYTHON_INTERPRETER> The Python interpreter (development version) to use. [default: '']."
cmake/downloaded/autocmake_python_interpreter.cmake:#   define: "'-DPYTHON_INTERPRETER=\"{0}\"'.format(arguments['--python'])"
cmake/downloaded/autocmake_python_interpreter.cmake:if("${PYTHON_INTERPRETER}" STREQUAL "")
cmake/downloaded/autocmake_python_interpreter.cmake:    if(NOT EXISTS "${PYTHON_INTERPRETER}")
cmake/downloaded/autocmake_python_interpreter.cmake:        find_program(PYTHON_EXECUTABLE NAMES ${PYTHON_INTERPRETER})
cmake/downloaded/autocmake_python_interpreter.cmake:        set(PYTHON_EXECUTABLE "${PYTHON_INTERPRETER}")
setup:  --python=<PYTHON_INTERPRETER>          The Python interpreter (development version) to use. [default: ''].
setup:    command.append('-DPYTHON_INTERPRETER="{0}"'.format(arguments['--python']))
src/pcm/CMakeLists.txt:  -DPYTHON_INTERPRETER=${PYTHON_EXECUTABLE}

miroi avatar Jan 27 '23 14:01 miroi

I will check this. The flag was also reported today to not work.

bast avatar Jan 27 '23 22:01 bast