minor changes to build script
generate python api documentation