diff options
author | Mark Wiebe <mwwiebe@gmail.com> | 2010-11-09 16:02:27 -0800 |
---|---|---|
committer | Charles Harris <charlesr.harris@gmail.com> | 2010-12-01 20:02:15 -0700 |
commit | 15c68128fea5618902c62c62436e2bad1eb865b7 (patch) | |
tree | 180eb6412b4d7dc54d89ba260d56fc4b4ebdd3e2 /numpy/core/setup.py | |
parent | af84876fac13ac2e4e44ac0cae599fe9d6e68643 (diff) | |
download | numpy-15c68128fea5618902c62c62436e2bad1eb865b7.tar.gz |
ENH: core: Create half/float16 data type
Diffstat (limited to 'numpy/core/setup.py')
-rw-r--r-- | numpy/core/setup.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/numpy/core/setup.py b/numpy/core/setup.py index f71ec108a..c2a607d62 100644 --- a/numpy/core/setup.py +++ b/numpy/core/setup.py @@ -610,6 +610,8 @@ def configuration(parent_package='',top_path=None): from numpy.distutils.misc_util import get_cmd subpath = join('src', 'umath') + # NOTE: For manual template conversion of loops.h.src, read the note + # in that file. sources = [join(local_dir, subpath, 'loops.c.src'), join(local_dir, subpath, 'umathmodule.c.src')] @@ -692,6 +694,7 @@ def configuration(parent_package='',top_path=None): sources=[join('src', 'npymath', 'npy_math.c.src'), join('src', 'npymath', 'ieee754.c.src'), join('src', 'npymath', 'npy_math_complex.c.src'), + join('src', 'npymath', 'halffloat.c'), get_mathlib_info], install_dir='lib') config.add_npy_pkg_config("npymath.ini.in", "lib/npy-pkg-config", @@ -802,6 +805,7 @@ def configuration(parent_package='',top_path=None): generate_numpyconfig_h, generate_numpy_api, generate_ufunc_api], + libraries=['npymath'], ) # Configure blasdot |