Python3 messages for installation

This commit is contained in:
Shahram Najm 2019-06-19 16:39:46 +01:00
parent 97062d3a93
commit 85f78478b4
1 changed files with 8 additions and 10 deletions

View File

@ -476,13 +476,11 @@ ecbuild_info(" | ecCodes version ${ECCODES_VERSION} |")
ecbuild_info(" +--------------------------+") ecbuild_info(" +--------------------------+")
ecbuild_info("") ecbuild_info("")
if (PYTHON_FOUND AND PYTHON_VERSION_MAJOR EQUAL 3) ecbuild_info(" +--------------------------------------+")
ecbuild_info(" +--------------------------------------+") ecbuild_info(" | Please note: |")
ecbuild_info(" | Please note: |") ecbuild_info(" | For Python3 support, first install |")
ecbuild_info(" | For Python3 support, first install |") ecbuild_info(" | ecCodes and then install the Python |")
ecbuild_info(" | ecCodes and then install the Python |") ecbuild_info(" | bindings from PyPI with: |")
ecbuild_info(" | bindings from PyPI with: |") ecbuild_info(" | $ pip install eccodes-python |")
ecbuild_info(" | $ pip install eccodes-python |") ecbuild_info(" +--------------------------------------+")
ecbuild_info(" +--------------------------------------+") ecbuild_info("")
ecbuild_info("")
endif()