mirror of
https://github.com/kennethreitz/pipenv.git
synced 2026-06-05 22:50:18 +00:00
fix trusted host bug
Signed-off-by: Kenneth Reitz <me@kennethreitz.org>
This commit is contained in:
+1
-1
@@ -1257,7 +1257,7 @@ def pip_install(
|
||||
f.write(package_name)
|
||||
|
||||
# Install dependencies when a package is a VCS dependency.
|
||||
if [x for x in requirements.parse(package_name.split('--hash')[0])][0].vcs:
|
||||
if [x for x in requirements.parse(package_name.split('--hash')[0].split('--trusted-host')[0])][0].vcs:
|
||||
no_deps = False
|
||||
|
||||
# Don't specify a source directory when using --system.
|
||||
|
||||
Reference in New Issue
Block a user