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

Till Hofmann thofmann at fedoraproject.org
Sun Feb 17 18:56:29 CET 2019


Hi all,

it looks like that patch never made it into the repository. Was that an
oversight or is there something wrong with the patch? I'd be happy to
fix any issues, so we can remove the patch downstream.

Thanks!
Till

On 7/14/18 1:36 PM, Till Hofmann wrote:
> 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: 4059 bytes
Desc: not available
URL: <http://www.cebix.net/pipermail/ginac-list/attachments/20190217/8f2871dd/attachment.bin>


More information about the GiNaC-list mailing list