From 012796d8feb05c0a3fea91f027389a8df4e0692f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pierre=20L=2EP=2E=20P=C3=A9bay?= <68857547+pierrepebay@users.noreply.github.com> Date: Tue, 2 Jul 2024 08:34:29 -0700 Subject: [PATCH 1/2] #83: Update CMakeLists.txt --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 355d132182..0780d0e1fa 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -27,7 +27,7 @@ if(NOT CMAKE_CXX_STANDARD) endif() message(STATUS "CMAKE_CXX_STANDARD: ${CMAKE_CXX_STANDARD}") -option(VT_TV_PYTHON_BINDINGS_ENABLED "Build vt-tv with Python bindings" ON) +option(VT_TV_PYTHON_BINDINGS_ENABLED "Build vt-tv with Python bindings" OFF) option(VT_TV_OPENMP_ENABLED "Build vt-tv with openMP support" ON) set(VT_TV_N_THREADS "2" CACHE STRING "Number of OpenMP threads to use") From 645264f33aff886eb169fa4816dd1d434f8b66bc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pierre=20L=2EP=2E=20P=C3=A9bay?= <68857547+pierrepebay@users.noreply.github.com> Date: Tue, 2 Jul 2024 08:36:33 -0700 Subject: [PATCH 2/2] #83: Enable bindings in setup.py --- setup.py | 1 + 1 file changed, 1 insertion(+) diff --git a/setup.py b/setup.py index 68e7a7c549..b26471c430 100644 --- a/setup.py +++ b/setup.py @@ -47,6 +47,7 @@ def build_extension(self, ext): cmake_args = ['-DCMAKE_LIBRARY_OUTPUT_DIRECTORY=' + extdir, '-DPYTHON_EXECUTABLE=' + sys.executable, + '-DVT_TV_PYTHON_BINDINGS_ENABLED=ON', '-DVTK_DIR=' + vtk_dir, '-DVT_TV_N_THREADS=' + str(n_threads)]