Skip to content
Snippets Groups Projects
Commit 9bed43a7 authored by Jörn Künsemöller's avatar Jörn Künsemöller
Browse files

Task LSMR-8: attempt to switch to Python 3

parent 8fea5d91
No related branches found
No related tags found
1 merge request!87Lsmr epic
...@@ -2,7 +2,6 @@ ...@@ -2,7 +2,6 @@
lofar_package(LSMR 0.1) lofar_package(LSMR 0.1)
# set(Python_ADDITIONAL_VERSIONS 3.4) # FIXME: Find proper solution to manage Python environments with cmake!
include(PythonInstall) include(PythonInstall)
add_subdirectory(src) add_subdirectory(src)
......
lofar_find_package(PythonInterp 3.4 REQUIRED) lofar_find_package(PythonInterp 3.4 REQUIRED)
include(PythonInstall) include(PythonInstall)
include(FindPythonModule) 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(django REQUIRED)
find_python_module(rest_framework REQUIRED) # pip install djangorestframework find_python_module(rest_framework REQUIRED) # pip install djangorestframework
find_python_module(ldap REQUIRED) 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 # find_python_module(django-filter REQUIRED) # FIXME: not detected
set(_py_files set(_py_files
......
include(LofarCTest) include(LofarCTest)
include(FindPythonModule) 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(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_lsmrapp_models)
lofar_add_test(t_functional) lofar_add_test(t_functional)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment