Python build type

@tfoote @wjwwood Please review.