From 083f6e1933dc244db6a97b49830071be6aa6555c Mon Sep 17 00:00:00 2001 From: rgommers Date: Mon, 7 Mar 2011 09:38:32 +0800 Subject: DEP: remove deprecated get_numpy_include. --- doc/swig/test/setup.py | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'doc/swig') 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", -- cgit v1.2.1