BUILD.bazel 327 B

12345678910111213141516171819
  1. load("@py_deps//:requirements.bzl", "requirement")
  2. py_library(
  3. name = "gbench",
  4. srcs = glob(["gbench/*.py"]),
  5. deps = [
  6. requirement("numpy"),
  7. requirement("scipy"),
  8. ],
  9. )
  10. py_binary(
  11. name = "compare",
  12. srcs = ["compare.py"],
  13. python_version = "PY2",
  14. deps = [
  15. ":gbench",
  16. ],
  17. )