diff --git a/SAS/LSMR/CMakeLists.txt b/SAS/LSMR/CMakeLists.txt index b0cdab7f85774c01dcddd6adff6eebe78a8e4c7e..2b0f10a1ae3f42a6da72cca067b4c325a8cbe725 100644 --- a/SAS/LSMR/CMakeLists.txt +++ b/SAS/LSMR/CMakeLists.txt @@ -2,7 +2,6 @@ lofar_package(LSMR 0.1) -# set(Python_ADDITIONAL_VERSIONS 3.4) # FIXME: Find proper solution to manage Python environments with cmake! include(PythonInstall) add_subdirectory(src) diff --git a/SAS/LSMR/src/CMakeLists.txt b/SAS/LSMR/src/CMakeLists.txt index b526c0b82d8f46ef5dd4aaf15bc47ce7f251336b..8e2240bac1128eee33194509c4203985cc627ab5 100644 --- a/SAS/LSMR/src/CMakeLists.txt +++ b/SAS/LSMR/src/CMakeLists.txt @@ -1,10 +1,11 @@ lofar_find_package(PythonInterp 3.4 REQUIRED) include(PythonInstall) include(FindPythonModule) +set(Python_ADDITIONAL_VERSIONS 3.4) # FIXME: Find proper solution to manage Python environments with cmake! find_python_module(django REQUIRED) find_python_module(rest_framework REQUIRED) # pip install djangorestframework find_python_module(ldap REQUIRED) -# find_python_module(markdown REQUIRED) # FIXME: not detected +find_python_module(markdown REQUIRED) # find_python_module(django-filter REQUIRED) # FIXME: not detected set(_py_files diff --git a/SAS/LSMR/test/CMakeLists.txt b/SAS/LSMR/test/CMakeLists.txt index 850bab9695f44f87af07775329309adb60f691a8..2ba73220d9240e3050621673c7247d9aadefc3aa 100644 --- a/SAS/LSMR/test/CMakeLists.txt +++ b/SAS/LSMR/test/CMakeLists.txt @@ -1,8 +1,10 @@ include(LofarCTest) include(FindPythonModule) +set(Python_ADDITIONAL_VERSIONS 3.4) # FIXME: Find proper solution to manage Python environments with cmake! + find_python_module(mock REQUIRED) -find_python_module(requests REQUIRED) +# find_python_module(requests REQUIRED) # FIXME: Not detected lofar_add_test(t_lsmrapp_models) lofar_add_test(t_functional)