Build Python 3 extensions in C++ with Boost libraries.
C++ library for C++/Python3 interoperability
$ g++ -I/usr/local/include/python3.9 -I/usr/local/opt/boost-python3/include mymodule.cpp -o mymodule.so -L/usr/local/opt/boost-python3/lib -lboost_python39$ python3 setup.py build_ext --inplace$ ls /usr/local/opt/boost-python3/include/boost/python.hpp$ pkg-config --cflags --libs boost_python3-py39$ find /usr/local/opt/boost-python3 -name '*.dylib' -o -name '*.so'