On 03/09/2010 06:34 AM, Pim Schellart wrote:

for fast numerical calculations callbacks into Python are not a good option.
In terms of the discussion concerning compiled or header only I think
that although it would be nice and clean to have a header only
library, as it stands boost python has to be compiled anyway and I
think adding numpy as an optional dependency would not be bad because
users who want to use this functionality by definition have numpy
installed as well.

You may be forgetting that the one installing boost.python isn't necessarily the one compiling it. Not all users of boost.python need numpy. Thus, should there be two boost.python packages, one with and one without numpy dependency ? I think it would be cleaner to factor that out, unless it can be kept in a header-only form.

    Stefan

--

      ...ich hab' noch einen Koffer in Berlin...

_______________________________________________
Cplusplus-sig mailing list
Cplusplus-sig@python.org
http://mail.python.org/mailman/listinfo/cplusplus-sig

Reply via email to