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