Commit 1b05e8bd authored by Stefan Behnel's avatar Stefan Behnel

fix setup.py script in Demos dir

parent 8aa581be
......@@ -13,9 +13,9 @@ ext_modules = cythonize("**/*.pyx", exclude="numpy_*.pyx")
# Only compile the following if numpy is installed.
try:
from numpy.distutils.misc_util import get_numpy_include_dirs
numpy_demo = Extension("*",
["numpy_*.pyx"],
include_dirs=get_numpy_include_dirs())
numpy_demo = [Extension("*",
["numpy_*.pyx"],
include_dirs=get_numpy_include_dirs())]
ext_modules.extend(cythonize(numpy_demo))
except ImportError:
pass
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment