From fec2f0c0cea943a654e4c65b547300a042e8af56 Mon Sep 17 00:00:00 2001 From: William Woodruff Date: Wed, 6 Nov 2024 13:43:44 -0500 Subject: [PATCH] attestations: collect *.zip sdists as well Signed-off-by: William Woodruff --- attestations.py | 1 + 1 file changed, 1 insertion(+) diff --git a/attestations.py b/attestations.py index d8bca49..8c66cff 100644 --- a/attestations.py +++ b/attestations.py @@ -54,6 +54,7 @@ def debug(msg: str): def collect_dists(packages_dir: Path) -> list[Path]: # Collect all sdists and wheels. dist_paths = [sdist.resolve() for sdist in packages_dir.glob('*.tar.gz')] + dist_paths.extend(sdist.resolve() for sdist in packages_dir.glob('*.zip')) dist_paths.extend(whl.resolve() for whl in packages_dir.glob('*.whl')) # Make sure everything that looks like a dist actually is one.