storpipfugl / pykdtree

Fast kd-tree implementation in Python
GNU Lesser General Public License v3.0
215 stars 47 forks source link

get numpy header location from numpy.get_include() #1

Closed djhoese closed 11 years ago

djhoese commented 11 years ago

I tried installing pykdtree on my mac (10.7 with fink) and distutils couldn't find the numpy headers, found this SO question: http://stackoverflow.com/questions/2379898/make-distutils-look-for-numpy-header-files-in-the-correct-place

My solution works, but you may have other ideas/preferences.