summaryrefslogtreecommitdiff
path: root/numpy/core/setup.py
diff options
context:
space:
mode:
authorMarten van Kerkwijk <mhvk@astro.utoronto.ca>2017-04-06 13:15:04 -0400
committerCharles Harris <charlesr.harris@gmail.com>2017-04-27 13:37:50 -0600
commit25e973d61150f515448566d35a86ea878aa4c98f (patch)
tree9f8b31bc6efd72bb3adf8eb43f5503f74ed5a414 /numpy/core/setup.py
parent55500b90c0d868621feb04920782109a57d40c12 (diff)
downloadnumpy-25e973d61150f515448566d35a86ea878aa4c98f.tar.gz
MAINT: split out umath-specific part of ufunc_override.
And put it in src/umath instead of src/private. This leaves only the PyUFunc_WithOverride function in ufunc_override.c, which is all that is needed outside of umath (it is called by array_ufunc in multiarray/methods.c).
Diffstat (limited to 'numpy/core/setup.py')
-rw-r--r--numpy/core/setup.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/numpy/core/setup.py b/numpy/core/setup.py
index b29a8fee2..e057c5614 100644
--- a/numpy/core/setup.py
+++ b/numpy/core/setup.py
@@ -874,6 +874,7 @@ def configuration(parent_package='',top_path=None):
join('src', 'umath', 'ufunc_object.c'),
join('src', 'umath', 'scalarmath.c.src'),
join('src', 'umath', 'ufunc_type_resolution.c'),
+ join('src', 'umath', 'override.c'),
join('src', 'private', 'mem_overlap.c'),
join('src', 'private', 'ufunc_override.c')]
@@ -884,6 +885,7 @@ def configuration(parent_package='',top_path=None):
join('src', 'multiarray', 'common.h'),
join('src', 'private', 'templ_common.h.src'),
join('src', 'umath', 'simd.inc.src'),
+ join('src', 'umath', 'override.h'),
join(codegen_dir, 'generate_ufunc_api.py'),
join('src', 'private', 'lowlevel_strided_loops.h'),
join('src', 'private', 'mem_overlap.h'),