-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Top level package metadata #1
Comments
Oh, sorry I missed this issue! I seem to have not been subscribed to new issues, but have now fixed that. As for standardizing |
Could modules and scripts be included? If one of the goals is to discover file conflicts, then scripts are also a source of them. |
Oh yeah terminology: Yes, I thought about both toplevel packages ( Regarding scripts: They are already listed in the metadata as |
I mean scripts, plain scripts, what distutils has always called scripts. |
top_level.txt should be standardized.
importlib.metadata.packages_distributions()
relies on it for a quicker lookup.See also: https://discuss.python.org/t/record-the-top-level-names-of-a-wheel-in-metadata/29494
Sure, it’s possible to infer that from the manifest, but wouldn’t it be useful to have it in the metadata?
If this becomes part of the wheel-next standard, we can also circumvent the issue of “there is no difference between the metadata of a package that contains no top-level Python packages and a package that doesn’t declare them”: no metadata field means no top level packages, so don’t try to infer them.
The text was updated successfully, but these errors were encountered: