From 8ee3b9334b4d7cbbfafe2e16c2bd8b0c0e1a80c8 Mon Sep 17 00:00:00 2001 From: Shahram Najm Date: Wed, 19 Jun 2019 16:40:49 +0100 Subject: [PATCH] Python3 messages for installation --- CMakeLists.txt | 18 ++++++++---------- 1 file changed, 8 insertions(+), 10 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index aa8536560..26b95389e 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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("")