Always reinstall editables

Signed-off-by: NPradyun Gedam <pradyunsg@users.noreply.github.com>
上级 9f4c5409
......@@ -144,8 +144,9 @@ class Resolver(BaseResolver):
elif installed_dist.parsed_version != candidate.version:
# The installation is different in version -- reinstall.
ireq.should_reinstall = True
elif dist_is_editable(installed_dist) != candidate.is_editable:
# The installation is different in editable-ness -- reinstall.
elif candidate.is_editable or dist_is_editable(installed_dist):
# The incoming distribution is editable, or different in
# editable-ness to installation -- reinstall.
ireq.should_reinstall = True
elif candidate.source_link.is_file:
# The incoming distribution is under file://
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册