Skip to content

Commit

Permalink
Only match './dist' and not './distributions', as found in coherent.d…
Browse files Browse the repository at this point in the history
…eps.

CLoses #31.
  • Loading branch information
jaraco committed Jan 13, 2025
1 parent 06a28ad commit 34f63ea
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion backend.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,9 +66,13 @@ class SDist(Filter):
Should not ignore nested dist dirs
>>> sf(types.SimpleNamespace(name='./bar/dist'))
namespace(name='foo/bar/dist')
Should not ignore paths that begin with 'dist'
>>> sf(types.SimpleNamespace(name='./distributions'))
namespace(name='foo/distributions')
"""

ignored = ['dist', r'(.*[/])?__pycache__$', r'(.*[/])?[.]']
ignored = ['dist$', r'(.*[/])?__pycache__$', r'(.*[/])?[.]']


class Wheel(Filter):
Expand Down

0 comments on commit 34f63ea

Please sign in to comment.