saltstack/salt — pull request #6034 by extesy (2013-07-08 06:41:01+00:00)
Title: Enhance virtualenv module to install distribute/pip for pyvenv

Unlike virtualenv, pyvenv in python 3.3 doesn't install distribute and pip by default. It makes it impossible to use managed virtualenv state because it tries to find pip in virtual environment immediately after its creation.

To solve this problem I have added support for installing distribute with optional pip after pyvenv creates empty virtual environment. This way, when called with `pip=True` parameter, the environment will be immediately ready for installing requirements.txt using pip.

Fixes #5494.