from distutils.core import setup, Extension
from Cython.Build import cythonize
import numpy as np

ext = Extension(name='_cymlda', sources=['_cymlda.pyx'])

setup(
    ext_modules=cythonize(ext),
    include_dirs = [np.get_include()]
)

from distutils.core import setup, Extension
from Cython.Build import cythonize
import numpy as np

ext = Extension(
        name='_cymlda',
        sources=['_cymlda.pyx'],
        include_dirs=[np.get_include()]
        )

setup(
    ext_modules=cythonize(ext),
    include_dirs = [np.get_include()]
)

add np.get_include() into setup.py:ext