icecube.load_pybindings module

Toplevel container for icecube projects

icecube.load_pybindings.load_pybindings(name, path)

Merges python bindings from shared library ‘name’ into module ‘name’. Use when you have a directory structure:

lib/
   foo.so
   foo/
     __init__.py
     something.py

Here, inside foo/__init__.py call load_pybindings(__name__, __path__)

this assumes that the first entry in list __path__ is where you want the wrapped classes to merge to.