dfujim / mudpy

MUon Data file IO
GNU General Public License v3.0
4 stars 3 forks source link

Missing numpy include directory #3

Closed bs610 closed 4 years ago

bs610 commented 4 years ago

On my machine, I get an error when trying to pip install the package, as clang cannot find numpy/arrayobject.h when building the mud_friendly extension.

This can be fixed by adding numpy to the list of include_dirs in setup.py:

include_dirs=[numpy.get_include(), './mud_src/'])
dfujim commented 4 years ago

Apparently I fixed this in commit 8841caea51ce848101a1b853ff85e3055b82da08, but I forgot to push it. Sorry about that!