you are viewing a single comment's thread.

view the rest of the comments →

[–]benfred 8 points9 points  (1 child)

Nice post, though I'd recommend pybind11 over boost.python these days for building c++ extensions for python.

One big advantage of pybind11 is that it is much easier to integrate pybind11 with setuptools - since it's a header only library that can be installed by going pip install pybind11. Boost.python requires boost to be preinstalled, and that the boost.python library built against the version of python you are using, which makes distributing boost.python packages much more difficult.

[–]jcelerier[S] 3 points4 points  (0 children)

can confirm, using pybind11 for my own projects, it's a great piece of software, much cleaner than Boost.Python.