summaryrefslogtreecommitdiff
path: root/numpy/doc/swig/setup.py
diff options
context:
space:
mode:
Diffstat (limited to 'numpy/doc/swig/setup.py')
-rwxr-xr-xnumpy/doc/swig/setup.py11
1 files changed, 9 insertions, 2 deletions
diff --git a/numpy/doc/swig/setup.py b/numpy/doc/swig/setup.py
index adce7672a..13bd7589e 100755
--- a/numpy/doc/swig/setup.py
+++ b/numpy/doc/swig/setup.py
@@ -27,10 +27,17 @@ _Matrix = Extension("_Matrix",
include_dirs = [numpy_include],
)
+# _Tensor extension module
+_Tensor = Extension("_Tensor",
+ ["Tensor_wrap.cxx",
+ "tensor.cxx"],
+ include_dirs = [numpy_include],
+ )
+
# NumyTypemapTests setup
setup(name = "NumpyTypemapTests",
description = "Functions that work on arrays",
author = "Bill Spotz",
- py_modules = ["Vector", "Matrix"],
- ext_modules = [_Vector , _Matrix ]
+ py_modules = ["Vector", "Matrix", "Tensor"],
+ ext_modules = [_Vector , _Matrix , _Tensor ]
)