How to Wrap my C++ class/function to Python?

EMAN2 use boost.python to wrap C++ class/function to Python. All the wrapping code can be found in libpyEM directory. Initially, all the wrapping is done by Pyste. Because the lack of supporting, we dropped the pyste ans add the new wrapping code by us own. There are plenty of sample code in libpyEM to follow.