Signed-off-by: Kenneth Reitz <me@kennethreitz.org>
This commit is contained in:
2017-09-24 22:07:22 -04:00
parent 689a57df7b
commit ed248b2fb6
+2
View File
@@ -1245,6 +1245,8 @@ def pip_install(
# Install dependencies when a package is a VCS dependency.
if [x for x in requirements.parse(package_name.split('--hash')[0])][0].vcs:
no_deps = False
# Don't specify a source directory when using --system.
if not allow_global:
src = '--src {0}'.format(project.virtualenv_src_location)
else: