Tag Archives: submodule

Boost.Python Submodules

I’ve been using Boost.Python to wrap a C++ library for use in Python for the past few months, and recently needed to have one compiled .so (or .pyd) file behave as a package instead of as a module.  That is, I wanted the one file to behave as if it was actually a directory of Python files:

/application
    __init__.py
    submodule.py

Continue reading Boost.Python Submodules