python wrapper, shared build