<div dir="ltr">That is good to know. The boost documentation makes it appear as if bjam is the only way to build boost.python, but good to see examples to the contrary!</div><div class="gmail_extra"><br><br><div class="gmail_quote">
On Thu, Feb 27, 2014 at 2:19 PM, Toby St Clere Smithe <span dir="ltr"><<a href="mailto:pyviennacl@tsmithe.net" target="_blank">pyviennacl@tsmithe.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div>Eelco Hoogendoorn <<a href="mailto:hoogendoorn.eelco@gmail.com">hoogendoorn.eelco@gmail.com</a>> writes:<br>
> I have a file numpy_boost_python.hpp in one of my projects by Michael<br>
> Droettboom (can seem to find an online source anymore!), which adds<br>
> mappings between numpy.ndarray and boost.ndarray, which is very neat<br>
> and seemless. But like boost.python, it tightly couples with the<br>
> clusterfuck that is bjam. However, something conceptually like that but<br>
> integrated with XDress would be great. Indeed it does not sound too<br>
> complicated; though I don't think I will get around to it anytime soon,<br>
> unfortunately...<br>
<br>
</div>You don't have to use bjam! I have built my projects with distutils and<br>
CMake, and never once touched bjam; CMake provides find_package scripts<br>
for Boost, Python and NumPy, and for distutils, I just include the<br>
relevant files and flags in my project.<br>
<br>
See [1] for a CMake example, and [2] for a distutils example.<br>
<br>
[1] <a href="https://github.com/tsmithe/viennacl-dev/blob/pyviennacl/CMakeLists.txt" target="_blank">https://github.com/tsmithe/viennacl-dev/blob/pyviennacl/CMakeLists.txt</a><br>
[2] <a href="https://github.com/viennacl/pyviennacl-dev/blob/master/setup.py" target="_blank">https://github.com/viennacl/pyviennacl-dev/blob/master/setup.py</a><br>
<br>
<br>
Cheers,<br>
<br>
Toby<br>
<div class="HOEnZb"><div class="h5"><br>
_______________________________________________<br>
NumPy-Discussion mailing list<br>
<a href="mailto:NumPy-Discussion@scipy.org">NumPy-Discussion@scipy.org</a><br>
<a href="http://mail.scipy.org/mailman/listinfo/numpy-discussion" target="_blank">http://mail.scipy.org/mailman/listinfo/numpy-discussion</a><br>
</div></div></blockquote></div><br></div>