mirror of
https://github.com/nexus-stc/hyperboria
synced 2024-12-24 18:45:49 +01:00
7389f85ef2
- Move fancy naming to Hub - Adopt translations - Fix long authors list in bot - Support CJK in scitech - Fixed pylon bug with decoding improper unicode ch... GitOrigin-RevId: 74f73c44f749a71cb65dd5ddd3416f32a83d329f
35 lines
877 B
Python
35 lines
877 B
Python
load("@rules_python//python:defs.bzl", "py_binary", "py_library")
|
|
load("@pip_modules_external//: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",
|
|
],
|
|
)
|