mirror of
https://github.com/nexus-stc/hyperboria
synced 2025-01-02 06:55:49 +01:00
d51e5ab65d
- fix: Translation fixes - fix: Various fixes - feat: PB translations, configuration changes - fix: Bugfixes GitOrigin-RevId: 55f8b148c42a296162fc707c36a5146ca0073b4b
35 lines
868 B
Python
35 lines
868 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("pdfminer.six"),
|
|
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",
|
|
],
|
|
)
|