C++ library for seamless C++/Python3 interoperability and bindings
C++ library for C++/Python3 interoperability
boost_python3$ g++ -c mymodule.cpp -I$(python3-config --includes) -I$(brew --prefix boost-python3)/include -fPIC$ g++ -shared mymodule.o -o mymodule.so -L$(brew --prefix boost-python3)/lib -lboost_python3$ python3 -c "import mymodule; mymodule.my_cpp_function()"