Skip to content

Commit fec2f0c

Browse files
committed
attestations: collect *.zip sdists as well
Signed-off-by: William Woodruff <william@trailofbits.com>
1 parent a8b73a6 commit fec2f0c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

attestations.py

+1
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ def debug(msg: str):
5454
def collect_dists(packages_dir: Path) -> list[Path]:
5555
# Collect all sdists and wheels.
5656
dist_paths = [sdist.resolve() for sdist in packages_dir.glob('*.tar.gz')]
57+
dist_paths.extend(sdist.resolve() for sdist in packages_dir.glob('*.zip'))
5758
dist_paths.extend(whl.resolve() for whl in packages_dir.glob('*.whl'))
5859

5960
# Make sure everything that looks like a dist actually is one.

0 commit comments

Comments
 (0)