Skip to content

Commit 37452ab

Browse files
authored
refactor: add missing //python/config_settings/private:distribution target (#1402)
I'm working on adding a new pip package download rule to the repo called `pypi_install`. For that, I set up a new `examples/pypi_install` directory. When I imported `rules_python` via a `local_repository`, however, the build complained about missing files. This patch aims to fix that issue by making the missing files available. I tried copying the other `distribution` targets when creating this one.
1 parent 6461a69 commit 37452ab

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

python/config_settings/BUILD.bazel

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ filegroup(
55
name = "distribution",
66
srcs = glob(["*.bzl"]) + [
77
"BUILD.bazel",
8+
"//python/config_settings/private:distribution",
89
],
910
visibility = ["//python:__pkg__"],
1011
)
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
filegroup(
2+
name = "distribution",
3+
srcs = glob(["*.bzl"]) + [
4+
"BUILD.bazel",
5+
],
6+
visibility = ["//python/config_settings:__pkg__"],
7+
)

0 commit comments

Comments
 (0)