-
Notifications
You must be signed in to change notification settings - Fork 950
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
Example package leads to author
name being munged with author_email
#1134
Comments
Hmm, so |
I believe this is also the interpretation setuptools follows. @bwoodsend this is in accordance with the text of PEP 621:
Or would it be a different problem? Note: According to core metadata, I belive that both If you disagree with the approach described in the PEP, I suggest creating a discussion in https://discuss.python.org/c/packaging/14 and possibly volunteering to write another PEP changing that. |
It is indeed what the PEP says. I can't say I like it but you're right - this isn't the place. |
Following the example package from here, in particular the method of specifier author/email it demonstrates causes
pip show
to get confused. An examplepyproject.toml
:which when installed, reports the
Author
field as blank and the author's name + email as the email field.dict(importlib.metadata.distribution("test-package"))
gives the same pattern. This happens irregardless of build backend. What is the reasoning behind this discrepancy? Is theAuthor
field in packaging land being phased out or is this a bug somwhere?The text was updated successfully, but these errors were encountered: