Re: [C++-sig] Boost.Python NumPy extension

2016-10-09 Thread Jim Bosch
On Sun, Oct 9, 2016 at 12:40 AM, Alex Mohr wrote: > > Instead of depending on numpy, we made our array structures implement the > python buffer protocol. This lets clients that wish to use numpy do so > easily, since numpy supports the buffer protocol, but it does not burden > those that don't w

Re: [C++-sig] Boost.Python NumPy extension

2016-10-09 Thread Stefan Seefeld
Hi Alex, On 09.10.2016 00:40, Alex Mohr wrote: > Cool! Sorry, I don't have the expertise to help with the boost.build > aspect, but I did have some questions and comments regarding the feature. > > Does this add a dependency of boost.python on numpy? We'd love to be > able to continue use boost.

Re: [C++-sig] Boost.Python NumPy extension

2016-10-08 Thread Alex Mohr
Cool! Sorry, I don't have the expertise to help with the boost.build aspect, but I did have some questions and comments regarding the feature. Does this add a dependency of boost.python on numpy? We'd love to be able to continue use boost.python without a numpy dependency. We did a nontrivi

[C++-sig] Boost.Python NumPy extension

2016-10-08 Thread Stefan Seefeld
Hello, I'm happy to announce that I just merged the NumPy C++ wrappers from https://github.com/ndarray/Boost.NumPy into Boost.Python's development branch. (Online documentation for it can be browsed here: http://boostorg.github.io/python/develop/doc/html/numpy) I'd very much like to be able to me