• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1load("@rules_python//python:defs.bzl", "py_binary", "py_library")
2
3py_library(
4    name = "with_third_party_requirements",
5    srcs = [
6        "__init__.py",
7        "bar.py",
8        "foo.py",
9    ],
10    visibility = ["//:__subpackages__"],
11    deps = [
12        "@gazelle_python_test_baz//:pkg",
13        "@gazelle_python_test_boto3//:pkg",
14        "@gazelle_python_test_djangorestframework//:pkg",
15    ],
16)
17
18py_binary(
19    name = "with_third_party_requirements_bin",
20    srcs = ["__main__.py"],
21    main = "__main__.py",
22    visibility = ["//:__subpackages__"],
23    deps = ["@gazelle_python_test_baz//:pkg"],
24)
25