gnucash maint: Unify optionally required Python version - PR #481 supplement

Frank H.Ellenberger fell at code.gnucash.org
Mon May 13 22:24:52 EDT 2019


Updated	 via  https://github.com/Gnucash/gnucash/commit/6b0f3ce6 (commit)
	from  https://github.com/Gnucash/gnucash/commit/e6c50357 (commit)



commit 6b0f3ce641e1a5125e761f8abbe076abd5dedca0
Author: Frank H. Ellenberger <frank.h.ellenberger at gmail.com>
Date:   Tue May 14 04:21:55 2019 +0200

    Unify optionally required Python version - PR #481 supplement

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 23eb5e9ed..dd2ef68fb 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -474,8 +474,8 @@ if (WITH_PYTHON)
     message(SEND_ERROR "Python support enabled, but Python interpreter not found.")
   endif()
 
-  if (PYTHON_VERSION_STRING VERSION_LESS "2.4.0")
-    message(SEND_ERROR "Found python version ${PYTHON_VERSION_STRING}, but it's too old. Need python >= 2.4.0")
+  if (PYTHON_VERSION_STRING VERSION_LESS "3.2.0")
+    message(SEND_ERROR "Found python version ${PYTHON_VERSION_STRING}, but it's too old. Need python >= 3.2.0")
   endif()
 
   find_package(PythonLibs 3)
diff --git a/README.dependencies b/README.dependencies
index db0ea9ec2..42b28344c 100644
--- a/README.dependencies
+++ b/README.dependencies
@@ -94,7 +94,7 @@ Libraries/Deps
 
   libofx		0.9.0			 OFX/QFX import
 
-  python		3.4.0			 python bindings; headers
+  python		3.2.0			 python bindings; headers
 						 required, not just binaries.
 
   makeinfo                                       Not really needed, it



Summary of changes:
 CMakeLists.txt      | 4 ++--
 README.dependencies | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)



More information about the gnucash-changes mailing list