[GiNaC-list] cmake patch to find correct python executable

Till Hofmann thofmann at fedoraproject.org
Sat Jul 14 13:36:41 CEST 2018


Hi all,

Please consider including the attached patch. With this patch, cmake
searches for the correct path of the python2 interpreter and uses that
path for calling python, instead of just calling "python".

This fixes a bug on Fedora, which no longer has an unversioned python
interpreter (i.e., only python2 and python3). It should also avoid using
python3 on accident.

On a related note, are there any plans to switch to python3? I only had
a quick glance and there are some incompatibilities, but most of them
seem to be rather straight-forward to fix.

Thanks!
Till
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-cmake-search-for-python-interpreter-and-use-the-foun.patch
Type: text/x-patch
Size: 4058 bytes
Desc: not available
URL: <http://www.cebix.net/pipermail/ginac-list/attachments/20180714/764405fc/attachment.bin>


More information about the GiNaC-list mailing list