pip --use-mirrors is deprecated in the recent pip versions, so I replaced it by fabtools.python.requirements()