Netflix/aminator — pull request #178 by coryb (2014-04-01 22:41:43+00:00)
Title: sanitize PATH for subcommands when running inside a virtualenv

Otherwise running python scripts in package post-install scripts get confused in a multitude of ways, for instance:
Traceback (most recent call last):
File "/opt/python/bin/virtualenv", line 8, in
from pkg_resources import load_entry_point
ImportError: No module named pkg_resources