Commit 52788238 by Sébastien Eustace Committed by GitHub

Merge pull request #3867 from wakemaster39/git

Properly detect if packages are a git installation over directory installation
parents 40dc3ad9 8175e7cb
...@@ -69,6 +69,11 @@ class InstalledRepository(Repository): ...@@ -69,6 +69,11 @@ class InstalledRepository(Repository):
# this is required to handle pathlib oddity on win32 python==3.5 # this is required to handle pathlib oddity on win32 python==3.5
path = lib.joinpath(path) path = lib.joinpath(path)
paths.add(path) paths.add(path)
src_path = env.path / "src" / name
if not paths and src_path.exists():
paths.add(src_path)
return paths return paths
@classmethod @classmethod
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment