From c00cfc642ae60d9139b4f173670ea77bdc8e5805 Mon Sep 17 00:00:00 2001 From: Mark McLoughlin Date: Tue, 25 Oct 2011 14:26:13 +0100 Subject: venv: update distribute as well as pip When you create a virtualenv, pip and setuptools/distribute is installed. When we later run install_venv.py to update the venv, we should be sure to grab the latest versions of pip and distribute otherwise issues like this one are masked: http://code.google.com/p/sqlalchemy-migrate/issues/detail?id=131 Change-Id: Id206be478ea6c5216dcee6f2f58dc91858c843f5 --- tools/install_venv.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tools/install_venv.py b/tools/install_venv.py index cfd4c6bd4..2ecd446e6 100644 --- a/tools/install_venv.py +++ b/tools/install_venv.py @@ -150,8 +150,9 @@ def pip_install(*args): def install_dependencies(venv=VENV): print 'Installing dependencies with pip (this can take a while)...' - # First things first, make sure our venv has the latest pip. + # First things first, make sure our venv has the latest pip and distribute. pip_install('pip') + pip_install('distribute') # Install greenlet by hand - just listing it in the requires file does not # get it in stalled in the right order -- cgit