- compile python interface