-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Closed as not planned
Closed as not planned
Copy link
Description
Following the example package from here, in particular the method of specifier author/email it demonstrates causes pip show to get confused. An example pyproject.toml:
# pyproject.toml
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "test-package"
version = "0.0.1"
authors = [
{ name="Example Author", email="[email protected]" },
]which when installed, reports the Author field as blank and the author's name + email as the email field.
> pip install -q .
> pip show test-package
Name: test-package
Version: 0.0.1
Summary:
Home-page:
Author:
Author-email: Example Author <[email protected]>
License:
Location: /usr/local/lib/python3.10/site-packages
Requires:
Required-by: dict(importlib.metadata.distribution("test-package")) gives the same pattern. This happens irregardless of build backend. What is the reasoning behind this discrepancy? Is the Author field in packaging land being phased out or is this a bug somwhere?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels