Considering the following archetypal Boost.Python module, which brings a class "D" from a separate C++ header file.
/* file: a/b.cpp */
BOOST_PYTHON_MODULE(c)
{
class_<d>("D")
}
When I compile this to a shared library, I'm confused how I can expose it to Python.
- What should I call the library? a.so? liba.so? b.so? libb.so?
- Where does the library need to be? Can I leave it in a subdirectory?