Fix the issue of easy_install ignoring virtualenv_site_packages=yes.

pull/3377/head
Jack Kuan 12 years ago
parent 467f612ef6
commit a07324c590

@ -111,7 +111,7 @@ def main():
command = '%s %s' % (virtualenv, env) command = '%s %s' % (virtualenv, env)
if site_packages: if site_packages:
command += ' --system-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 rc += rc_venv
out += out_venv out += out_venv

Loading…
Cancel
Save