hyperboria/nexus/pylon/BUILD.bazel
the-superpirate 43be16e4bc - [nexus] Update schema
- [nexus] Remove outdated protos
  - [nexus] Development
  - [nexus] Development
  - [nexus] Development
  - [nexus] Development
  - [nexus] Development
  - [nexus] Refactor views
  - [nexus] Update aiosumma
  - [nexus] Add tags
  - [nexus] Development
  - [nexus] Update repository
  - [nexus] Update repository
  - [nexus] Update dependencies
  - [nexus] Update dependencies
  - [nexus] Fixes for MetaAPI
  - [nexus] Support for new queries
  - [nexus] Adopt new versions of search
  - [nexus] Improving Nexus
  - [nexus] Various fixes
  - [nexus] Add profile
  - [nexus] Fixes for ingestion
  - [nexus] Refactorings and bugfixes
  - [idm] Add profile methods
  - [nexus] Fix stalled nexus-meta bugs
  - [nexus] Various bugfixes
  - [nexus] Restore IDM API functionality

GitOrigin-RevId: a0842345a6dde5b321279ab5510a50c0def0e71a
2022-09-02 19:15:47 +03:00

43 lines
1.0 KiB
Python

load("@rules_python//python:defs.bzl", "py_binary", "py_library")
load("@pip_modules//:requirements.bzl", "requirement")
py_library(
name = "pylon",
srcs = glob(["**/*.py"]),
data = [
"configs/pylon.yaml",
],
visibility = ["//visibility:public"],
deps = [
requirement("aiodns"),
requirement("aiofiles"),
requirement("aiohttp"),
requirement("aiohttp_socks"),
requirement("brotli"),
requirement("cchardet"),
requirement("certifi"),
requirement("jq"),
requirement("orjson"),
requirement("pypdf2"),
requirement("python-socks"),
requirement("selenium"),
requirement("tenacity"),
requirement("aiokit"),
"//library/configurator",
"//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",
],
)