always quote pip

Signed-off-by: Kenneth Reitz <me@kennethreitz.org>
This commit is contained in:
2017-09-27 09:28:45 -04:00
parent b3161132fa
commit 3897432e8d
+1 -2
View File
@@ -1307,8 +1307,7 @@ def pip_install(
pre = '--pre' if pre else ''
quoted_pip = which_pip(allow_global=allow_global)
if os.name != 'nt':
quoted_pip = shellquote(quoted_pip)
quoted_pip = shellquote(quoted_pip)
pip_command = '{0} install {4} {5} {3} {1} {2} --exists-action w'.format(
quoted_pip,