[sage-devel] Re: Question on the features introduced by #20382

2018-09-12 Thread Simon King
Hi Jeroen, On 2018-09-12, Jeroen Demeyer wrote: > Why does a Python file care whether the normaliz library and headers are > installed? Now I'm looking at #25091 and it seems to me (but correct me > if I'm wrong) that you *really* care about the PyNormaliz Python module, > for which there is a

Re: [sage-devel] Re: Question on the features introduced by #20382

2018-09-11 Thread Jeroen Demeyer
On 2018-09-12 07:42, Simon King wrote: However, the place in #25090/#25091 where the author uses is_package_installed, is a Python file. Why does a Python file care whether the normaliz library and headers are installed? Now I'm looking at #25091 and it seems to me (but correct me if I'm wron

[sage-devel] Re: Question on the features introduced by #20382

2018-09-11 Thread Simon King
Hi Jeroen, On 2018-09-11, Jeroen Demeyer wrote: > On 2018-09-11 18:55, Simon King wrote: >> Specifically, I ask because of #25090/#25091: How can one test whether >> normaliz is installed? > > Use Cython: see src/sage/features/bliss.py for an example for the > "bliss" library Thank you. If it w