Skip to content

Commit 7e861b3

Browse files
committed
chore(build): fix extension module hash calculation
1 parent 3cf3342 commit 7e861b3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -662,7 +662,7 @@ def get_sources(self, cmd: build_ext) -> t.List[Path]:
662662
return (
663663
[
664664
_
665-
for _ in Path(self.source_dir).rglob("**")
665+
for _ in Path(self.source_dir).glob("**/*")
666666
if _.is_file() and _.name != full_path.name and _.suffix and _.suffix not in {".py", ".pyc", ".pyi"}
667667
]
668668
if self.source_dir

0 commit comments

Comments
 (0)