From 7ee2b4372573ec322a208eeb3e4ebed5c7797dc4 Mon Sep 17 00:00:00 2001 From: Pearu Peterson Date: Fri, 30 Sep 2005 09:38:09 +0000 Subject: Fixed and improved scipy.distutils. --- scipy/base/numeric.py | 14 -------------- 1 file changed, 14 deletions(-) (limited to 'scipy/base/numeric.py') diff --git a/scipy/base/numeric.py b/scipy/base/numeric.py index f13148dcb..dc380ed81 100644 --- a/scipy/base/numeric.py +++ b/scipy/base/numeric.py @@ -370,18 +370,4 @@ inf = PINF nan = NAN from oldnumeric import * -def get_scipy_include(): - """Return the directory in the package that contains the scipy/*.h header - files. - - Extension modules that need to compile against scipy.base should use this - function to locate the appropriate include directory. Using distutils: - - import scipy - Extension('extension_name', ... - include_dirs=[scipy.get_scipy_include()]) - """ - import os - dir, fn = os.path.split(__file__) - return os.path.join(dir, 'include') -- cgit v1.2.1