load("@rules_python//python:defs.bzl", "py_binary", "py_library") | |
py_library( | |
name = "with_third_party_requirements", | |
srcs = [ | |
"__init__.py", | |
"bar.py", | |
"foo.py", | |
], | |
visibility = ["//:__subpackages__"], | |
deps = [ | |
"@gazelle_python_test//baz", | |
"@gazelle_python_test//boto3", | |
"@gazelle_python_test//djangorestframework", | |
], | |
) | |
py_binary( | |
name = "with_third_party_requirements_bin", | |
srcs = ["__main__.py"], | |
main = "__main__.py", | |
visibility = ["//:__subpackages__"], | |
deps = ["@gazelle_python_test//baz"], | |
) |