Python: Update BUILD.bazel files.

This allows us to (later) build the whole python language pack with
bazel.
This commit is contained in:
Cornelius Riemenschneider
2024-02-12 17:10:35 +01:00
parent 4fcb90298d
commit 27ebebc24b
2 changed files with 31 additions and 0 deletions

View File

@@ -0,0 +1,12 @@
load("@rules_pkg//:mappings.bzl", "pkg_files", "strip_prefix")
pkg_files(
name = "downgrades",
srcs = glob(
["**"],
exclude = ["BUILD.bazel"],
),
prefix = "downgrades",
strip_prefix = strip_prefix.from_pkg(),
visibility = ["//python:__pkg__"],
)