(*args)
| 664 | subst_dict = dict([("sep", os.path.sep), ("pkgname", "numpy.core")]) |
| 665 | |
| 666 | def get_mathlib_info(*args): |
| 667 | # Another ugly hack: the mathlib info is known once build_src is run, |
| 668 | # but we cannot use add_installed_pkg_config here either, so we only |
| 669 | # update the substitution dictionary during npymath build |
| 670 | config_cmd = config.get_config_cmd() |
| 671 | mlibs = check_mathlib(config_cmd) |
| 672 | |
| 673 | posix_mlib = ' '.join(['-l%s' % l for l in mlibs]) |
| 674 | msvc_mlib = ' '.join(['%s.lib' % l for l in mlibs]) |
| 675 | subst_dict["posix_mathlib"] = posix_mlib |
| 676 | subst_dict["msvc_mathlib"] = msvc_mlib |
| 677 | |
| 678 | npymath_sources = [join('src', 'npymath', 'npy_math_internal.h.src'), |
| 679 | join('src', 'npymath', 'npy_math.c'), |
nothing calls this directly
no test coverage detected