summaryrefslogtreecommitdiff
path: root/numpy/lib/utils.py
diff options
context:
space:
mode:
authorTravis Oliphant <oliphant@enthought.com>2006-01-04 19:00:27 +0000
committerTravis Oliphant <oliphant@enthought.com>2006-01-04 19:00:27 +0000
commite706c7d92c4ee41e8e995fb3838bd0931b57efb5 (patch)
tree015a057d49422774e49ed211a37c14105d03a713 /numpy/lib/utils.py
parentc14d4fe25cb5cd482369734dd487ac8f376851c9 (diff)
downloadnumpy-e706c7d92c4ee41e8e995fb3838bd0931b57efb5.tar.gz
Changed all references to scipy to numpy
Diffstat (limited to 'numpy/lib/utils.py')
-rw-r--r--numpy/lib/utils.py16
1 files changed, 8 insertions, 8 deletions
diff --git a/numpy/lib/utils.py b/numpy/lib/utils.py
index 19fb18d4d..be5a34295 100644
--- a/numpy/lib/utils.py
+++ b/numpy/lib/utils.py
@@ -1,6 +1,6 @@
from numerictypes import obj2dtype
-__all__ = ['issubclass_', 'get_scipy_include', 'issubdtype']
+__all__ = ['issubclass_', 'get_numpy_include', 'issubdtype']
def issubclass_(arg1, arg2):
try:
@@ -11,18 +11,18 @@ def issubclass_(arg1, arg2):
def issubdtype(arg1, arg2):
return issubclass(obj2dtype(arg1), obj2dtype(arg2))
-def get_scipy_include():
- """Return the directory in the package that contains the scipy/*.h header
+def get_numpy_include():
+ """Return the directory in the package that contains the numpy/*.h header
files.
- Extension modules that need to compile against scipy.base should use this
+ Extension modules that need to compile against numpy.base should use this
function to locate the appropriate include directory. Using distutils:
- import scipy
+ import numpy
Extension('extension_name', ...
- include_dirs=[scipy.get_scipy_include()])
+ include_dirs=[numpy.get_numpy_include()])
"""
- from scipy.distutils.misc_util import get_scipy_include_dirs
- include_dirs = get_scipy_include_dirs()
+ from numpy.distutils.misc_util import get_numpy_include_dirs
+ include_dirs = get_numpy_include_dirs()
assert len(include_dirs)==1,`include_dirs`
return include_dirs[0]