Fix: quote src for safer handling

This commit is contained in:
Brad Brown
2017-12-13 09:30:42 -06:00
parent 29f0c4283d
commit fa61220d4c
+1 -1
View File
@@ -1350,7 +1350,7 @@ def pip_install(
# Don't specify a source directory when using --system.
if not allow_global and ('PIP_SRC' not in os.environ):
src = '--src {0}'.format(project.virtualenv_src_location)
src = '--src "{0}"'.format(project.virtualenv_src_location)
else:
src = ''
else: