From 68e6576c2444ebb8c13edcd9c1d6fc273b4f10dc Mon Sep 17 00:00:00 2001 From: Rob Allen Date: Tue, 24 Dec 2024 17:01:05 +0000 Subject: [PATCH] Workaround pypa/setuptools#4759 Set license-files to an empty array to work around issues releasing to PyPI. See: - https://github.com/astral-sh/uv/issues/9513 - https://github.com/pypa/setuptools/issues/4759 --- pyproject.toml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pyproject.toml b/pyproject.toml index f6855a3d1..f0686e76c 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -87,6 +87,10 @@ exclude = ''' [tool.setuptools] packages = ["rst2pdf"] + # FIXME: this is a workaround; see: + # - https://github.com/astral-sh/uv/issues/9513 + # - https://github.com/pypa/setuptools/issues/4759 + license-files = [] [tool.setuptools_scm] # Presence of the [tool.setuptools_scm] table enables setuptools-scm