diff --git a/src/scikit_build_core/build/_file_processor.py b/src/scikit_build_core/build/_file_processor.py index 457f91c4..f666aeff 100644 --- a/src/scikit_build_core/build/_file_processor.py +++ b/src/scikit_build_core/build/_file_processor.py @@ -59,6 +59,7 @@ def each_unignored_file( # Always include something included if include_spec.match_file(p): yield p + continue # Ignore from global ignore if exclude_spec.match_file(p):