Skip to content

Commit

Permalink
Merge pull request #295 from trail-of-forks/ww/fix-sdist-collection
Browse files Browse the repository at this point in the history
  • Loading branch information
webknjaz authored Nov 6, 2024
2 parents a8b73a6 + fec2f0c commit 1f5d4ec
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 1f5d4ec

Please sign in to comment.