puppetmodules/puppet-module-python — pull request #23 by bkg (2013-07-17 01:04:55+00:00)
Title: Fix updating of pip and distribute in virtualenv

Updating distribute prior to pip breaks the virtualenv. I was able to verify this on Ubuntu Server 12.04 by manually creating a fresh virtualenv:

virtualenv env
. env/bin/activate
pip install -U distribute pip

Which results in:

ImportError: No module named setuptools

Installing pip prior to distribute resolves the issue.