Skip to content

Commit

Permalink
Merge pull request ratal#13 from henesissrl/patch-numpypath
Browse files Browse the repository at this point in the history
fix cythonize numpy path
  • Loading branch information
ratal committed Aug 28, 2015
2 parents 4cd89b6 + 1dfe869 commit 223b2d0
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 223b2d0

Please sign in to comment.