Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

setup not showing the default python interpeter #272

Open
miroi opened this issue Jan 27, 2023 · 1 comment
Open

setup not showing the default python interpeter #272

miroi opened this issue Jan 27, 2023 · 1 comment

Comments

@miroi
Copy link
Contributor

miroi commented Jan 27, 2023

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}
@bast
Copy link
Member

bast commented Jan 27, 2023

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants