From 4e051ef8657fddb82812cc11c547f7643b29b61c Mon Sep 17 00:00:00 2001 From: versat Date: Fri, 15 Mar 2019 16:16:38 +0100 Subject: [PATCH] donate-cpu.py: Improve Python library detection. The official documentation recommends to include the Python C API via `#include "Python.h"`: https://docs.python.org/3/c-api/intro.html And many projects do it exactly this way, that is why the client script often does not detect the usage of the Python C API. --- tools/donate-cpu.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/donate-cpu.py b/tools/donate-cpu.py index 9e29b7aa8..58765dabe 100644 --- a/tools/donate-cpu.py +++ b/tools/donate-cpu.py @@ -38,7 +38,7 @@ import platform # Version scheme (MAJOR.MINOR.PATCH) should orientate on "Semantic Versioning" https://semver.org/ # Every change in this script should result in increasing the version number accordingly (exceptions may be cosmetic # changes) -CLIENT_VERSION = "1.1.15" +CLIENT_VERSION = "1.1.16" def checkRequirements(): @@ -242,7 +242,7 @@ def scanPackage(workPath, cppcheckPath, jobs, fast): 'microsoft_sal': [''], 'motif': ['', '', ''], <- Enable after release of 1.88 - 'python': [''], + 'python': ['', '"Python.h"'], 'qt': ['', '', '', '', '', ''],