numpy fix to provide includes for other recipes

This commit is contained in:
Stepan Rakhimov 2016-02-14 14:47:35 +01:00
parent 9c828b2932
commit 6b09dacfba

View file

@ -9,6 +9,7 @@ class NumpyRecipe(CythonRecipe):
url = "http://pypi.python.org/packages/source/n/numpy/numpy-{version}.tar.gz" url = "http://pypi.python.org/packages/source/n/numpy/numpy-{version}.tar.gz"
library = "libnumpy.a" library = "libnumpy.a"
libraries = ["libnpymath.a", "libnpysort.a"] libraries = ["libnpymath.a", "libnpysort.a"]
include_dir = "numpy/core/include"
depends = ["python"] depends = ["python"]
pbx_frameworks = ["Accelerate"] pbx_frameworks = ["Accelerate"]
cythonize = False cythonize = False
@ -51,5 +52,3 @@ class NumpyRecipe(CythonRecipe):
shutil.rmtree(join(dest_dir, "tests")) shutil.rmtree(join(dest_dir, "tests"))
recipe = NumpyRecipe() recipe = NumpyRecipe()