mirror of
https://github.com/nexus-stc/hyperboria
synced 2024-12-21 00:57:45 +01:00
16a151ae19
GitOrigin-RevId: 55a38effd769ab15a3e0893cac84754ffb1de5a0
34 lines
831 B
Python
34 lines
831 B
Python
load("@rules_python//python:defs.bzl", "py_binary", "py_library")
|
|
load("@pip_modules//:requirements.bzl", "requirement")
|
|
|
|
py_library(
|
|
name = "pylon",
|
|
srcs = glob(["**/*.py"]),
|
|
visibility = ["//visibility:public"],
|
|
deps = [
|
|
requirement("aiodns"),
|
|
requirement("aiohttp"),
|
|
requirement("aiohttp_socks"),
|
|
requirement("brotli"),
|
|
requirement("cchardet"),
|
|
requirement("orjson"),
|
|
requirement("python-socks"),
|
|
requirement("tenacity"),
|
|
requirement("aiokit"),
|
|
"//library/logging",
|
|
"//nexus/pylon/proto:pylon_proto_py",
|
|
],
|
|
)
|
|
|
|
py_binary(
|
|
name = "cli",
|
|
srcs = ["cli.py"],
|
|
main = "cli.py",
|
|
srcs_version = "PY3",
|
|
visibility = ["//visibility:public"],
|
|
deps = [
|
|
requirement("fire"),
|
|
":pylon",
|
|
],
|
|
)
|