aboutsummaryrefslogtreecommitdiff
path: root/python/extensions/BUILD.bazel
diff options
context:
space:
mode:
Diffstat (limited to 'python/extensions/BUILD.bazel')
-rw-r--r--python/extensions/BUILD.bazel18
1 files changed, 17 insertions, 1 deletions
diff --git a/python/extensions/BUILD.bazel b/python/extensions/BUILD.bazel
index 7f6873d..88e3984 100644
--- a/python/extensions/BUILD.bazel
+++ b/python/extensions/BUILD.bazel
@@ -12,6 +12,8 @@
# See the License for the specific language governing permissions and
# limitations under the License.
+load("@bazel_skylib//:bzl_library.bzl", "bzl_library")
+
package(default_visibility = ["//visibility:public"])
licenses(["notice"])
@@ -19,5 +21,19 @@ licenses(["notice"])
filegroup(
name = "distribution",
srcs = glob(["**"]),
- visibility = ["//extensions:__pkg__"],
+ visibility = ["//python:__pkg__"],
+)
+
+bzl_library(
+ name = "pip_bzl",
+ srcs = ["pip.bzl"],
+ visibility = ["//:__subpackages__"],
+ deps = ["//python/private/bzlmod:pip_bzl"],
+)
+
+bzl_library(
+ name = "python_bzl",
+ srcs = ["python.bzl"],
+ visibility = ["//:__subpackages__"],
+ deps = ["//python/private/bzlmod:python_bzl"],
)