From be5369c5b815a262db2b783f6323f4c3d79425d6 Mon Sep 17 00:00:00 2001 From: jh777916 Date: Thu, 14 Sep 2023 09:30:15 +0200 Subject: [PATCH] More cleaning on the cpp part --- tools/CurvePlot/src/cpp/CMakeLists.txt | 10 ---------- tools/CurvePlot/src/cpp/test/test_curveplot.cxx | 3 --- 2 files changed, 13 deletions(-) diff --git a/tools/CurvePlot/src/cpp/CMakeLists.txt b/tools/CurvePlot/src/cpp/CMakeLists.txt index 3728fec1f..42b9ddef4 100644 --- a/tools/CurvePlot/src/cpp/CMakeLists.txt +++ b/tools/CurvePlot/src/cpp/CMakeLists.txt @@ -23,16 +23,6 @@ ADD_SUBDIRECTORY(test) # additional include directories -MESSAGE(STATUS "*======================================================================*") -MESSAGE(STATUS "VARIABLE PYTHON_INCLUDE_DIRS = ${PYTHON_INCLUDE_DIRS}") -MESSAGE(STATUS "VARIABLE NUMPY_INCLUDE_DIRS = ${NUMPY_INCLUDE_DIRS}") -MESSAGE(STATUS "VARIABLE GUI_INCLUDE_DIRS = ${GUI_INCLUDE_DIRS}") -MESSAGE(STATUS "VARIABLE PYTHON_DEFINITIONS = ${PYTHON_DEFINITIONS}") -MESSAGE(STATUS "VARIABLE PYTHON_LIBRARIES = ${PYTHON_LIBRARIES}") -MESSAGE(STATUS "VARIABLE GUI_PyInterp = ${GUI_PyInterp}") - -MESSAGE(STATUS "*======================================================================*") - INCLUDE_DIRECTORIES( ${PYTHON_INCLUDE_DIRS} ${NUMPY_INCLUDE_DIR} diff --git a/tools/CurvePlot/src/cpp/test/test_curveplot.cxx b/tools/CurvePlot/src/cpp/test/test_curveplot.cxx index cfee766ab..a3e2339ed 100644 --- a/tools/CurvePlot/src/cpp/test/test_curveplot.cxx +++ b/tools/CurvePlot/src/cpp/test/test_curveplot.cxx @@ -84,9 +84,6 @@ void initPython() PyRun_SimpleString("import threading\n"); std::cout << " > Inside initPython() - inside condition" << std::endl; - - // PyRun_SimpleString("import site\n"); - // PyRun_SimpleString("print(site.getsitepackages())\n"); PyThreadState *pts = PyGILState_GetThisThreadState(); PyEval_ReleaseThread(pts); -- 2.39.2