| load("//python:py_library.bzl", "py_library") | |
| load("//python/private:distribution_filegroup.bzl", "distribution_filegroup") # buildifier: disable=bzl-visibility | |
| load("//python/private:py_interpreter_program.bzl", "py_interpreter_program") # buildifier: disable=bzl-visibility | |
| load("//python/private:visibility.bzl", "NOT_ACTUALLY_PUBLIC") # buildifier: disable=bzl-visibility | |
| package( | |
| default_visibility = ["//:__subpackages__"], | |
| ) | |
| py_interpreter_program( | |
| name = "zipper", | |
| main = "zipper.py", | |
| # Not actually public. Only public so rules_python-generated toolchains | |
| # are able to reference it. | |
| visibility = NOT_ACTUALLY_PUBLIC, | |
| ) | |
| py_library( | |
| name = "zipper_lib", | |
| srcs = ["zipper.py"], | |
| ) | |
| py_interpreter_program( | |
| name = "exe_zip_maker", | |
| main = "exe_zip_maker.py", | |
| # Not actually public. Only public so rules_python-generated toolchains | |
| # are able to reference it. | |
| visibility = NOT_ACTUALLY_PUBLIC, | |
| ) | |
| py_library( | |
| name = "exe_zip_maker_lib", | |
| srcs = ["exe_zip_maker.py"], | |
| ) | |
| py_interpreter_program( | |
| name = "zip_main_maker", | |
| main = "zip_main_maker.py", | |
| # Not actually public. Only public so rules_python-generated toolchains | |
| # are able to reference it. | |
| visibility = NOT_ACTUALLY_PUBLIC, | |
| ) | |
| py_library( | |
| name = "zip_main_maker_lib", | |
| srcs = ["zip_main_maker.py"], | |
| ) | |
| distribution_filegroup( | |
| name = "distribution", | |
| ) |