diff options
author | rgommers <ralf.gommers@googlemail.com> | 2011-03-07 09:38:32 +0800 |
---|---|---|
committer | rgommers <ralf.gommers@googlemail.com> | 2011-03-11 12:27:02 +0800 |
commit | 083f6e1933dc244db6a97b49830071be6aa6555c (patch) | |
tree | 6234a45e7085b9f0b6e9364d80e8a640c369a9c4 /doc/swig | |
parent | 44ae46c70d0b9cb4909bfafe1e4dbef3cd90f5b9 (diff) | |
download | numpy-083f6e1933dc244db6a97b49830071be6aa6555c.tar.gz |
DEP: remove deprecated get_numpy_include.
Diffstat (limited to 'doc/swig')
-rwxr-xr-x | doc/swig/test/setup.py | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/doc/swig/test/setup.py b/doc/swig/test/setup.py index fadf8b5cd..f2fc29aac 100755 --- a/doc/swig/test/setup.py +++ b/doc/swig/test/setup.py @@ -7,11 +7,8 @@ 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() +# Obtain the numpy include directory. +numpy_include = numpy.get_include() # Array extension module _Array = Extension("_Array", |