We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 56aee03 commit a3c066dCopy full SHA for a3c066d
importlib_metadata/__init__.py
@@ -901,7 +901,6 @@ def _top_level_inferred(dist):
901
return filter(
902
None,
903
{
904
- # this logic relies on the assumption that dist.files only contains files (not directories)
905
inspect.getmodulename(f) if len(f.parts) == 1 else f.parts[0]
906
for f in always_iterable(dist.files)
907
},
0 commit comments