pypa/virtualenv — pull request #192 by chadcatlett (2011-11-30 14:29:17+00:00)
Title: Fixed sanity check for bytecode and setuptools vs distribute

Currently if both PYTHONDONTWRITEBYTECODE and VIRTUALENV_USE_DISTRIBUTE are set, the creation of an environment still fails because the byte code sanity check fails to take into account the environment variable.

This update changes the bytecode sanity check to check for distribute via command line and the environment variable.

Hopefully I didn't screw up this pull request. :)

chad