<table><tr><td style="">bruns created this revision.<br />bruns added a reviewer: Frameworks.<br />Herald added projects: Frameworks, Build System.<br />Herald added subscribers: kde-buildsystem, kde-frameworks-devel.<br />bruns requested review of this revision.
</td><a style="text-decoration: none; padding: 4px 8px; margin: 0 8px 8px; float: right; color: #464C5C; font-weight: bold; border-radius: 3px; background-color: #F7F7F9; background-image: linear-gradient(to bottom,#fff,#f1f0f1); display: inline-block; border: 1px solid rgba(71,87,120,.2);" href="https://phabricator.kde.org/D14914">View Revision</a></tr></table><br /><div><strong>REVISION SUMMARY</strong><div><p>In case both python 2.7 and 3 are installed, but clang python bindings<br />
are only installed for python 3, there will be no error message but<br />
the self check will fail.</p>
<p>Check for clang bindings for both python2 and python3 (if installed),<br />
and use the first one found to generate the sip bindings files.</p>
<p>Note, it is possible to e.g. use python2 to generate the sip binding<br />
files (requires clang bindings), but generate bindings for python<br />
2, 3, or both (requires matching python-devel and python-sip-devel<br />
packages).</p></div></div><br /><div><strong>TEST PLAN</strong><div><p>install python3-clang bindings<br />
install python2-clang bindings<br />
or one of the above</p>
<p>the matching python version is used to run sip_generator.py</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R240 Extra CMake Modules</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D14914">https://phabricator.kde.org/D14914</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>find-modules/FindPythonModuleGeneration.cmake</div></div></div><br /><div><strong>To: </strong>bruns, Frameworks<br /><strong>Cc: </strong>kde-frameworks-devel, kde-buildsystem, michaelh, ngraham, bruns<br /></div>