build bindings code with python3