@@ -56,6 +56,11 @@ whl_library_targets(
5656 tags = ["tag1"],
5757)
5858
59+ exports_files(
60+ srcs = ["bar.py"],
61+ visibility = ["//visibility:public"],
62+ )
63+
5964# SOMETHING SPECIAL AT THE END
6065"""
6166 actual = generate_whl_library_build_bazel (
@@ -122,6 +127,11 @@ whl_library_targets_from_requires(
122127 srcs_exclude = ["srcs_exclude_all"],
123128)
124129
130+ exports_files(
131+ srcs = ["bar.py"],
132+ visibility = ["//visibility:public"],
133+ )
134+
125135# SOMETHING SPECIAL AT THE END
126136"""
127137 actual = generate_whl_library_build_bazel (
@@ -187,6 +197,11 @@ whl_library_targets_from_requires(
187197 srcs_exclude = ["srcs_exclude_all"],
188198)
189199
200+ exports_files(
201+ srcs = ["bar.py"],
202+ visibility = ["//visibility:public"],
203+ )
204+
190205# SOMETHING SPECIAL AT THE END
191206"""
192207 actual = generate_whl_library_build_bazel (
@@ -252,6 +267,11 @@ whl_library_targets_from_requires(
252267 srcs_exclude = ["srcs_exclude_all"],
253268)
254269
270+ exports_files(
271+ srcs = ["bar.py"],
272+ visibility = ["//visibility:public"],
273+ )
274+
255275# SOMETHING SPECIAL AT THE END
256276"""
257277 actual = generate_whl_library_build_bazel (
0 commit comments