Skip to content

Commit

Permalink
attestations: collect *.zip sdists as well
Browse files Browse the repository at this point in the history
Signed-off-by: William Woodruff <william@trailofbits.com>
  • Loading branch information
woodruffw committed Nov 6, 2024
1 parent a8b73a6 commit fec2f0c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions attestations.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit fec2f0c

Please sign in to comment.