From 75eb55764ee07e580bfed21a0e51183648d1be2e Mon Sep 17 00:00:00 2001 From: "Michael R. Crusoe" <1330696+mr-c@users.noreply.github.com> Date: Fri, 3 May 2024 15:51:33 +0200 Subject: [PATCH] packaging metadata: link to the docs, issue tracker (#4345) See https://github.com/pypi/warehouse/issues/5947 https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#urls --- CHANGES.md | 3 +++ pyproject.toml | 4 +++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/CHANGES.md b/CHANGES.md index e3df420b5a0..ecc6d9496c1 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -22,6 +22,9 @@ +- Packaging metadata updated: docs are explictly linked, the issue tracker is now also + linked. This improves the PyPI listing for Black. (#4345) + ### Parser diff --git a/pyproject.toml b/pyproject.toml index 143c4845a94..ee43f282eab 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -93,8 +93,10 @@ blackd = "blackd:patched_main [d]" black = "black.schema:get_schema" [project.urls] +Documentation = "https://black.readthedocs.io/" Changelog = "https://github.com/psf/black/blob/main/CHANGES.md" -Homepage = "https://github.com/psf/black" +Repository = "https://github.com/psf/black" +Issues = "https://github.com/psf/black/issues" [tool.hatch.metadata.hooks.fancy-pypi-readme] content-type = "text/markdown"