| load("@rules_python//python:defs.bzl", "py_binary", "py_library") |
| |
| py_library( |
| name = "with_third_party_requirements_from_imports", |
| srcs = [ |
| "__init__.py", |
| "bar.py", |
| ], |
| visibility = ["//:__subpackages__"], |
| deps = [ |
| "@gazelle_python_test//google_cloud_aiplatform", |
| "@gazelle_python_test//google_cloud_storage", |
| ], |
| ) |
| |
| py_binary( |
| name = "with_third_party_requirements_from_imports_bin", |
| srcs = ["__main__.py"], |
| main = "__main__.py", |
| visibility = ["//:__subpackages__"], |
| deps = [ |
| ":with_third_party_requirements_from_imports", |
| "@gazelle_python_test//google_cloud_aiplatform", |
| ], |
| ) |