-
-
Notifications
You must be signed in to change notification settings - Fork 92
Closed
Description
The search logic is very limited. I understand that we probably just wanted to keep things simple when it was added, but I want to understand if there's any plan to improve it?
importlib_metadata/importlib_metadata/__init__.py
Lines 899 to 904 in d66e35a
def _top_level_inferred(dist): | |
return { | |
f.parts[0] if len(f.parts) > 1 else f.with_suffix('').name | |
for f in always_iterable(dist.files) | |
if f.suffix == ".py" | |
} |
In meson-python, I had to implement a more complete version of this logic. Would it make sense to port it here?
Metadata
Metadata
Assignees
Labels
No labels