Update so that it uses the `-V' command line option and supports Python 3.x.