Fix the issue of easy_install ignoring virtualenv_site_packages=yes.

This commit is contained in:
Jack Kuan 2013-06-29 17:03:12 -04:00
parent 36aa5943d1
commit 94d1a2542e

View file

@ -111,7 +111,7 @@ def main():
command = '%s %s' % (virtualenv, env)
if site_packages:
command += ' --system-site-packages'
rc_venv, out_venv, err_venv = module.run_command('%s %s' % (virtualenv, env))
rc_venv, out_venv, err_venv = module.run_command(command)
rc += rc_venv
out += out_venv