Add "index" option, so that pypi mirrors can be used. Closes #1