Python3 messages for installation

This commit is contained in:
Shahram Najm 2019-06-19 16:40:49 +01:00
parent c361a83b86
commit 8ee3b9334b
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("")
if (PYTHON_FOUND AND PYTHON_VERSION_MAJOR EQUAL 3)
ecbuild_info(" +--------------------------------------+")
ecbuild_info(" | Please note: |")
ecbuild_info(" | For Python3 support, first install |")
ecbuild_info(" | ecCodes and then install the Python |")
ecbuild_info(" | bindings from PyPI with: |")
ecbuild_info(" | $ pip install eccodes-python |")
ecbuild_info(" +--------------------------------------+")
ecbuild_info("")
endif()
ecbuild_info(" +--------------------------------------+")
ecbuild_info(" | Please note: |")
ecbuild_info(" | For Python3 support, first install |")
ecbuild_info(" | ecCodes and then install the Python |")
ecbuild_info(" | bindings from PyPI with: |")
ecbuild_info(" | $ pip install eccodes-python |")
ecbuild_info(" +--------------------------------------+")
ecbuild_info("")