aboutsummaryrefslogtreecommitdiff
path: root/python/entry_points/BUILD.bazel
diff options
context:
space:
mode:
Diffstat (limited to 'python/entry_points/BUILD.bazel')
-rw-r--r--python/entry_points/BUILD.bazel41
1 files changed, 41 insertions, 0 deletions
diff --git a/python/entry_points/BUILD.bazel b/python/entry_points/BUILD.bazel
new file mode 100644
index 0000000..d45fb18
--- /dev/null
+++ b/python/entry_points/BUILD.bazel
@@ -0,0 +1,41 @@
+# Copyright 2023 The Bazel Authors. All rights reserved.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+load("@bazel_skylib//:bzl_library.bzl", "bzl_library")
+
+exports_files(
+ [
+ "py_console_script_binary.bzl",
+ ],
+ visibility = ["//docs:__subpackages__"],
+)
+
+bzl_library(
+ name = "py_console_script_binary_bzl",
+ srcs = [":py_console_script_binary.bzl"],
+ visibility = ["//visibility:public"],
+ deps = [
+ "//python/private:py_console_script_binary_bzl",
+ ],
+)
+
+filegroup(
+ name = "distribution",
+ srcs = glob([
+ "*.bzl",
+ ]) + [
+ "BUILD.bazel",
+ ],
+ visibility = ["//python:__subpackages__"],
+)