anki/pip/BUILD.bazel
2020-11-12 20:03:41 +10:00

21 lines
381 B
Python

load("@rules_python//python:defs.bzl", "py_binary")
load("@py_deps//:requirements.bzl", "requirement")
py_binary(
name = "update",
srcs = ["update.py"],
data = [
"requirements.in",
"requirements.txt",
],
tags = ["manual"],
deps = [
requirement("pip-tools"),
],
)
exports_files([
"requirements.txt",
"licenses.json",
])