projects
/
platform
/
upstream
/
python-cython.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8aa581b
)
fix setup.py script in Demos dir
author
Stefan Behnel
<stefan_ml@behnel.de>
Fri, 27 Jul 2012 17:20:24 +0000
(19:20 +0200)
committer
Stefan Behnel
<stefan_ml@behnel.de>
Fri, 27 Jul 2012 17:20:24 +0000
(19:20 +0200)
Demos/setup.py
patch
|
blob
|
history
diff --git
a/Demos/setup.py
b/Demos/setup.py
index
529158f
..
f4887d5
100644
(file)
--- a/
Demos/setup.py
+++ b/
Demos/setup.py
@@
-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