add option to specify Python version (fix #570)

@tfoote @wjwwood Please review.