python: build python api for py3

Signed-off-by: Richard Marko <rmarko@redhat.com>