astro-informatics / ssht

Fast and exact spin spherical harmonic transforms
http://astro-informatics.github.io/ssht/
GNU General Public License v3.0
11 stars 2 forks source link

gmpy2 requires libmpc-dev & libmpfr-dev #18

Open paddyroddy opened 4 years ago

paddyroddy commented 4 years ago

In my PR I neglected the fact that the gmpy2 library requires libmpc-dev & libmpfr-dev libraries https://github.com/astro-informatics/src_ssht/pull/17 so either we need those in the setup.py or we should revert that PR

jasonmcewen commented 4 years ago

@mdavezac Just pinging you on this issue. We either need to add dependencies or revert to scipy.

mdavezac commented 4 years ago

It's been reverted in "main" now. I guess the best way to do it would be to require only scipy, but check if gmpy2 is installed and fallback to scipy otherwise. Users can then install gmpy2 independently if they feel the need.