summaryrefslogtreecommitdiff
path: root/numpy/numarray/util.py
diff options
context:
space:
mode:
Diffstat (limited to 'numpy/numarray/util.py')
-rw-r--r--numpy/numarray/util.py9
1 files changed, 9 insertions, 0 deletions
diff --git a/numpy/numarray/util.py b/numpy/numarray/util.py
index c9dbfade5..74b6e178b 100644
--- a/numpy/numarray/util.py
+++ b/numpy/numarray/util.py
@@ -28,3 +28,12 @@ def handleError(errorStatus, sourcemsg):
print "Warning: Encountered underflow(s)", sourcemsg
if modes['underflow'] == "raise":
raise UnderflowError(sourcemsg)
+
+
+import os
+import numpy
+def get_numarray_headers():
+ base = os.path.dirname(numpy.__file__)
+ newdirs = [os.path.join(base, 'numarray')]
+ return newdirs
+