Skip to content
Snippets Groups Projects
Commit b21a71c4 authored by Ethan Stam's avatar Ethan Stam Committed by Ben Boeckel
Browse files

paraview: backport Python3.4 check for 5.6.1

parent 52efc527
No related merge requests found
......@@ -260,6 +260,11 @@ if (paraview_SOURCE_SELECTION STREQUAL "5.6.0")
"Fix eye dome lighting in parallel")
endif ()
if (paraview_SOURCE_SELECTION STREQUAL "5.6.1")
superbuild_apply_patch(paraview py34-implib-check
"Fix issue with python 3.4 builds not loading modules")
endif ()
if (WIN32 AND las_enabled)
superbuild_append_flags(cxx_flags "-DBOOST_ALL_NO_LIB" PROJECT_ONLY)
endif()
......
commit 022212953ac07b16e8c3e588423b3be54f9e1715
Author: Cornelis Bockemühl <cornelis@bockemuehl.ch>
Date: Thu Nov 15 23:34:28 2018 +0100
Correcting a python version check
diff --git a/Wrapping/Python/paraview/vtk.py b/Wrapping/Python/paraview/vtk.py
index 054a2d1c88..788d4d9c2a 100644
--- a/Wrapping/Python/paraview/vtk.py
+++ b/Wrapping/Python/paraview/vtk.py
@@ -1,7 +1,7 @@
"""This is the paraview.vtk module."""
import sys
-if sys.version_info < (3,4):
+if sys.version_info <= (3,4):
# imp is deprecated in 3.4
import imp, importlib
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