From 47e99f6d113726547c7ff3d2b8e2187de5a20fd7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Florian=20M=C3=A4rkl?= Date: Sun, 25 Feb 2018 11:06:41 +0100 Subject: [PATCH] Use Py_Finalize() instead of Py_FinalizeEx() for compatibility --- src/CMakeLists.txt | 2 +- src/utils/JupyterConnection.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 8dfbc646..e3cff26e 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -35,7 +35,7 @@ include_directories(${RADARE2_INCLUDE_DIRS}) link_directories(${RADARE2_LIBRARY_DIRS}) -find_package(PythonLibs 3 REQUIRED) +find_package(PythonLibs 3.3 REQUIRED) include_directories(${PYTHON_INCLUDE_DIRS}) diff --git a/src/utils/JupyterConnection.cpp b/src/utils/JupyterConnection.cpp index 151fe9fd..63d7ff25 100644 --- a/src/utils/JupyterConnection.cpp +++ b/src/utils/JupyterConnection.cpp @@ -36,7 +36,7 @@ JupyterConnection::~JupyterConnection() if (Py_IsInitialized()) { - Py_FinalizeEx(); + Py_Finalize(); } }