ECC-1124: Python 2 support: Deprecate the cmake ENABLE_PYTHON option (Part 1)

This commit is contained in:
Shahram Najm 2020-06-24 18:04:50 +01:00
parent df3e8430ed
commit d291c25cd6
1 changed files with 1 additions and 1 deletions

View File

@ -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