Commit 6b677d24 by Andrey Torsunov Committed by Sébastien Eustace

GH-246 - fix searching of .egg-info (#249)

parent 07fb58c4
...@@ -189,7 +189,7 @@ class Provider: ...@@ -189,7 +189,7 @@ class Provider:
try: try:
venv.run("python", "setup.py", "egg_info") venv.run("python", "setup.py", "egg_info")
egg_info = list(tmp_dir.glob("*.egg-info"))[0] egg_info = next(tmp_dir.glob("**/*.egg-info"))
meta = pkginfo.UnpackedSDist(str(egg_info)) meta = pkginfo.UnpackedSDist(str(egg_info))
......
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