regenerate swig python file