1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
load("//benchmarks:defs.bzl", "py_library", "py_test", "requirement")
load("@rules_pkg//:pkg.bzl", "pkg_tar")
package(
default_visibility = ["//benchmarks:__subpackages__"],
licenses = ["notice"],
)
py_library(
name = "fio",
srcs = ["__init__.py"],
)
py_test(
name = "fio_test",
srcs = ["fio_test.py"],
python_version = "PY3",
deps = [
":fio",
requirement("attrs", False),
requirement("atomicwrites", False),
requirement("more-itertools", False),
requirement("pathlib2", False),
requirement("pluggy", False),
requirement("py", False),
requirement("pytest", True),
requirement("six", False),
],
)
pkg_tar(
name = "tar",
srcs = [
"Dockerfile",
],
)
|