From f23a7edd535f48f798e20813c4c50d3a42bf0d13 Mon Sep 17 00:00:00 2001 From: Dimitri Papadopoulos <3234522+DimitriPapadopoulos@users.noreply.github.com> Date: Sat, 22 Nov 2025 12:24:46 +0100 Subject: [PATCH 1/2] Simpler readme field MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The README’s format is auto-detected from the extension: `README.md` → GitHub-flavored Markdown https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#readme --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 14ed2492..5cbfa624 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -15,7 +15,7 @@ dependencies = [ requires-python = ">=3.9" description = "Foreign Function Interface for Python calling C code." -readme = {file = "README.md", content-type = "text/markdown"} +readme = "README.md" license = { file = "LICENSE" } classifiers = [ "Programming Language :: Python", From 59f888a0db003f0944be4724d4ba1b660d123f1a Mon Sep 17 00:00:00 2001 From: Dimitri Papadopoulos <3234522+DimitriPapadopoulos@users.noreply.github.com> Date: Sat, 22 Nov 2025 12:27:23 +0100 Subject: [PATCH 2/2] Prefer well-known labels https://packaging.python.org/en/latest/specifications/well-known-project-urls/#well-known-labels --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 5cbfa624..501c012e 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -44,7 +44,7 @@ cffi_modules = "cffi.setuptools_ext:cffi_modules" [project.urls] Documentation = "https://cffi.readthedocs.io/" Changelog = "https://cffi.readthedocs.io/en/latest/whatsnew.html" -Downloads = "https://github.com/python-cffi/cffi/releases" +Download = "https://github.com/python-cffi/cffi/releases" Contact = "https://groups.google.com/forum/#!forum/python-cffi" "Source Code" = "https://github.com/python-cffi/cffi" "Issue Tracker" = "https://github.com/python-cffi/cffi/issues"