Fix missed pip_shims fix

Signed-off-by: Dan Ryan <dan@danryan.co>
This commit is contained in:
Dan Ryan
2018-11-03 22:07:58 -04:00
parent c8cf4dd4cf
commit 716f47f988
+2 -2
View File
@@ -1157,9 +1157,9 @@ class Requirement(object):
if ireq_line.startswith("-e "):
ireq_line = ireq_line[len("-e ") :]
with ensure_setup_py(self.req.setup_path):
ireq = pip_shims.shims.ireq_from_editable(ireq_line)
ireq = pip_shims.shims.install_req_from_editable(ireq_line)
else:
ireq = pip_shims.shims.ireq_from_line(ireq_line)
ireq = pip_shims.shims.install_req_from_line(ireq_line)
if not getattr(ireq, "req", None):
ireq.req = self.req.req
else: