Hi guys
So I got my model working and everything, thanks to everyone for your help.
I've not sent it out to my colleges to use, however, it doesn't like my setup.py under mac.
from distutils.core import setup
from Cython.Build import cythonize
import numpy
ext_modules = cythonize("cyDensity.pyx",
sources=['DensityPyMod.cpp'],
#libraries=['stdc++'],
language="c++"
)
setup(
name="DensityPyMod",
ext_modules=ext_modules,
include_dirs=[numpy.get_include()]
)
It particularly hates `include_dirs=[numpy.get_include()]`. We fixed it by going
cp -r /usr/local/lib/python3.5/site-packages/numpy/core/include/numpy /usr/local/include
But I don't like this solution, is there a better work around that anyone else is using.
(We're installing cython under pip, btw)
Ta very much, once again :)