diff options
author | Jay Bourque <jay.bourque@continuum.io> | 2012-12-19 15:17:22 -0600 |
---|---|---|
committer | Jay Bourque <jay.bourque@continuum.io> | 2013-04-26 12:44:31 -0500 |
commit | aa0b3cb3c61ff27fa004a2e65ae8ad51dc6e645a (patch) | |
tree | 4545c0c9dcc49673a855eb377b9ac3e72ce10ea0 /numpy/core/setup.py | |
parent | 877d0479afa2117cc65f4282dacd654fb09f25bc (diff) | |
download | numpy-aa0b3cb3c61ff27fa004a2e65ae8ad51dc6e645a.tar.gz |
Add unit test for ufunc with custom type
Add unit test for ufunc with built in input types and custom output type.
Also, borrow rational custom dtype code from numpy-dtypes projects so that numpy
has a custom dtype for testing purposes.
Diffstat (limited to 'numpy/core/setup.py')
-rw-r--r-- | numpy/core/setup.py | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/numpy/core/setup.py b/numpy/core/setup.py index 0b2ecfe67..a72d82841 100644 --- a/numpy/core/setup.py +++ b/numpy/core/setup.py @@ -922,6 +922,13 @@ def configuration(parent_package='',top_path=None): sources = [join('src','umath', 'umath_tests.c.src')]) ####################################################################### + # custom rational dtype module # + ####################################################################### + + config.add_extension('rational', + sources = [join('src','umath', 'rational.c.src')]) + + ####################################################################### # multiarray_tests module # ####################################################################### |