Skip to content

Commit 1f03a3f

Browse files
committed
exclude build file from all files target
1 parent 0674887 commit 1f03a3f

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

python/private/pypi/whl_library_targets.bzl

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,10 @@ def whl_library_targets(
172172
filegroups = {
173173
EXTRACTED_WHEEL_FILES: dict(
174174
include = ["**"],
175-
exclude = [name] + [sdist_filename] if sdist_filename else [],
175+
exclude = [
176+
"BUILD.bazel",
177+
name,
178+
] + [sdist_filename] if sdist_filename else [],
176179
),
177180
DIST_INFO_LABEL: dict(
178181
include = ["site-packages/*.dist-info/**"],

0 commit comments

Comments
 (0)