Skip to content

Commit 58802db

Browse files
committed
dropped python 2.7 support
1 parent 836352b commit 58802db

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

cmake/ReadoutCardConfig.cmake.in

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -20,14 +20,9 @@ set(Monitoring_CMAKE_DIR @Monitoring_DIR@)
2020
set(InfoLogger_CMAKE_DIR @InfoLogger_ROOT@)
2121

2222
if(NOT APPLE)
23-
find_package(Python3 3.6 COMPONENTS Interpreter Development)
23+
find_package(Python3 3.6 COMPONENTS Interpreter Development)
2424
if(Python3_FOUND)
2525
set(boost_python_component "python${Python3_VERSION_MAJOR}${Python3_VERSION_MINOR}")
26-
else()
27-
# Backwards compatible. Can be removed once the Python3 recipe is stable
28-
message(WARNING "Python 3 was not found: falling back to Python 3")
29-
find_package(Python2 2.7 COMPONENTS Development REQUIRED)
30-
set(boost_python_component "python27")
3126
endif()
3227
endif()
3328

0 commit comments

Comments
 (0)