Adding support for Python 3.x

Also --use-mirrors is deprecated.