Skip to content

Commit

Permalink
fix cythonize numpy path
Browse files Browse the repository at this point in the history
  • Loading branch information
apbard committed Aug 24, 2015
1 parent 4cd89b6 commit 1dfe869
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
import numpy
from setuptools import setup, find_packages
from codecs import open # To use a consistent encoding
from os import path
from distutils.extension import Extension
from Cython.Build import cythonize

here = path.abspath(path.dirname(__file__))
Expand Down Expand Up @@ -99,5 +101,5 @@
'mdfconverter=mdfconverter.mdfconverter:main',
],
},
ext_modules=cythonize('mdfreader/dataRead.pyx')
ext_modules=cythonize(Extension('dataRead', ['mdfreader/dataRead.pyx'], include_dirs=[numpy.get_include()]))
)

0 comments on commit 1dfe869

Please sign in to comment.