ndarray/Boost.NumPy — pull request #22 by pwm1234 (2013-02-25 21:20:34+00:00)
Title: cmake build

Jim,
Here is my undocumented attempt to make a cmake build of Boost.NumPy. This branch has incorporated most of Gong's logic except for the zlib usage.

I have testing on Linux x64 (Centos 6.3) and windows 7 x64 with VS 2008 and 2010. (The executables with embedding do not work for me because my python was built with VS 2008.) The dtype test fails with the output below. All of the other tests pass.

Thanks,
Phil

======================================================================
ERROR: testFloats (__main__.DtypeTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "dtype.py", line 55, in testFloats
self.assertEquivalent(dtype_mod.accept_longdouble(f(numpy.pi)), numpy.dtype(f))
AttributeError: 'module' object has no attribute 'accept_longdouble'

======================================================================
ERROR: testIntegers (__main__.DtypeTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "dtype.py", line 23, in testIntegers
self.assertEquivalent(fs(s(1)), numpy.dtype(s))
ArgumentError: Python argument types in
dtype_mod.accept_int32(numpy.int32)
did not match C++ signature:
accept_int32(int)

----------------------------------------------------------------------
Ran 2 tests in 0.000s

FAILED (errors=2)