forked from bazel-contrib/rules_python
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathBUILD.bazel
More file actions
49 lines (42 loc) · 1.23 KB
/
BUILD.bazel
File metadata and controls
49 lines (42 loc) · 1.23 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
load("@bazel_skylib//:bzl_library.bzl", "bzl_library")
package(
default_visibility = ["//:__subpackages__"],
)
licenses(["notice"])
filegroup(
name = "distribution",
srcs = glob(["**"]),
)
bzl_library(
name = "py_zipapp_rule_bzl",
srcs = ["py_zipapp_rule.bzl"],
deps = [
"//python/private:attributes_bzl",
"//python/private:builders_bzl",
"//python/private:common_bzl",
"//python/private:common_labels_bzl",
"//python/private:py_executable_info_bzl",
"//python/private:py_info_bzl",
"//python/private:py_internal_bzl",
"//python/private:py_interpreter_program_bzl",
"//python/private:py_runtime_info_bzl",
"//python/private:toolchain_types_bzl",
"//python/private:transition_labels_bzl",
"@bazel_skylib//lib:paths",
],
)
filegroup(
name = "zip_main_template",
srcs = ["zip_main_template.py"],
visibility = ["//visibility:public"],
)
filegroup(
name = "zip_shell_template",
srcs = ["zip_shell_template.sh"],
visibility = ["//visibility:public"],
)
filegroup(
name = "zipapp_stage2_bootstrap_template",
srcs = ["zipapp_stage2_bootstrap_template.py"],
visibility = ["//visibility:public"],
)