learning-unlimited/ESP-Website — pull request #726 by luac (2013-10-04 05:14:12+00:00)
Title: Small tweaks to virtualenv script

A few changes to fix things I encountered while trying to migrate my dev server to virtualenv:

* Remove dependency on distribute because it interacts badly with virtualenv (and doesn't make sense to install inside virtualenv anyway) and is deprecated
* Install virtualenv via pip to get a more recent version
* Make sure apt packages are up to date when running the virtualenv script
* set -e