fix setup.py script in Demos dir
authorStefan Behnel <stefan_ml@behnel.de>
Fri, 27 Jul 2012 17:20:24 +0000 (19:20 +0200)
committerStefan Behnel <stefan_ml@behnel.de>
Fri, 27 Jul 2012 17:20:24 +0000 (19:20 +0200)
Demos/setup.py

index 529158f..f4887d5 100644 (file)
@@ -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