diff options
author | wfspotz@sandia.gov <wfspotz@sandia.gov@localhost> | 2007-09-13 21:43:16 +0000 |
---|---|---|
committer | wfspotz@sandia.gov <wfspotz@sandia.gov@localhost> | 2007-09-13 21:43:16 +0000 |
commit | 27d4f73e33ada55df938022a841fb9023a46cc1d (patch) | |
tree | ff3cfd4dcc0f1bceb285fe1c9c6f51438798a7bb /numpy/doc/swig/setup.py | |
parent | 34946e3172bbabc610cbc53132ea8e45a18d70d1 (diff) | |
download | numpy-27d4f73e33ada55df938022a841fb9023a46cc1d.tar.gz |
Reorganized swig directory with subdirectories for documentation and testing
Diffstat (limited to 'numpy/doc/swig/setup.py')
-rwxr-xr-x | numpy/doc/swig/setup.py | 43 |
1 files changed, 0 insertions, 43 deletions
diff --git a/numpy/doc/swig/setup.py b/numpy/doc/swig/setup.py deleted file mode 100755 index 13bd7589e..000000000 --- a/numpy/doc/swig/setup.py +++ /dev/null @@ -1,43 +0,0 @@ -#! /usr/bin/env python - -# System imports -from distutils.core import * -from distutils import sysconfig - -# Third-party modules - we depend on numpy for everything -import numpy - -# Obtain the numpy include directory. This logic works across numpy versions. -try: - numpy_include = numpy.get_include() -except AttributeError: - numpy_include = numpy.get_numpy_include() - -# _Vector extension module -_Vector = Extension("_Vector", - ["Vector_wrap.cxx", - "vector.cxx"], - include_dirs = [numpy_include], - ) - -# _Matrix extension module -_Matrix = Extension("_Matrix", - ["Matrix_wrap.cxx", - "matrix.cxx"], - 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", "Tensor"], - ext_modules = [_Vector , _Matrix , _Tensor ] - ) |