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
|
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//:pkg",
"@gazelle_python_test_google_cloud_storage//:pkg",
],
)
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//:pkg",
],
)
|