twiecki / CythonGSL

Cython interface for the GNU Scientific Library (GSL).
Other
121 stars 38 forks source link

use lib_gsl on all platforms #28

Closed samuelstjean closed 7 years ago

samuelstjean commented 7 years ago

A small modification to find libgsl. If gsl-config is not found, then it tries to read LIB_GSL instead of just doing it on windows, so you can have a local installation of it on mac and linux now.

I also replaced os.popen with subprocess as it was deprecated, see https://docs.python.org/2/library/subprocess.html#subprocess-replacements

I can run the example setup just fine on python3 and ubuntu 16.04, hopefully it still works on other platforms.

twiecki commented 7 years ago

Thanks!

samuelstjean commented 7 years ago

If it is not too much to ask, would you mind tagging a new version with this change? It would simplify my life a little since I could just put that version in requirement.txt for my stuff.

On a similar note, a few places in the setup and readme are still referencing the old v0.2.1