From: jh777916 Date: Thu, 14 Sep 2023 07:30:15 +0000 (+0200) Subject: More cleaning on the cpp part X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=be5369c5b815a262db2b783f6323f4c3d79425d6;p=modules%2Fgui.git More cleaning on the cpp part --- 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);