Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
657: Fixes list dist uploads. r=AstraLuma a=pathunstrom Prevents `examples.zip` from being included in `dists` Tested the comprehension on a xonsh container: ``` <user>`@8f257c1bbfc7` ~/tmp # touch dist1 <user>`@8f257c1bbfc7` ~/tmp # touch dist2 <user>`@8f257c1bbfc7` ~/tmp # touch dist3 <user>`@8f257c1bbfc7` ~/tmp # touch examples.zip <user>`@8f257c1bbfc7` ~/tmp # dists = [f for f in pg`**` if '+' not in f.name and 'examples.zip' not in f.name and f.is_fi le()] <user>`@8f257c1bbfc7` ~/tmp # dists [PosixPath('dist1'), PosixPath('dist2'), PosixPath('dist3')] ``` Co-authored-by: Piper Thunstrom <[email protected]>