From d291c25cd639dfed4f6e815ab687bf521b4b55bc Mon Sep 17 00:00:00 2001 From: Shahram Najm Date: Wed, 24 Jun 2020 18:04:50 +0100 Subject: [PATCH] ECC-1124: Python 2 support: Deprecate the cmake ENABLE_PYTHON option (Part 1) --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 1e21af9f6..6da73e3bf 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -119,7 +119,7 @@ ecbuild_add_option( FEATURE AEC ecbuild_add_option( FEATURE PYTHON DESCRIPTION "Build the ecCodes Python2 interface (deprecated)" - DEFAULT ON + DEFAULT OFF REQUIRED_PACKAGES "Python VERSION 2.6 NO_LIBS" NumPy ) # For Python2 we build our own bindings (using SWIG) in the build directory # but for Python3 one has to add the eccodes from pip3 AFTER the install