fix tests
diff --git a/src/BUILD b/src/BUILD index 91bd47b..58f64a9 100644 --- a/src/BUILD +++ b/src/BUILD
@@ -9,5 +9,12 @@ name = "test", srcs = glob(["tests/*.py"]), main = "tests/__main__.py", - deps = [":src"], + deps = [ + ":src", + "//third_party/python:pkginfo", + ], + size="small", + imports = [ + "../third_party/python/", + ] )
diff --git a/third_party/python/BUILD b/third_party/python/BUILD new file mode 100644 index 0000000..bf85ca1 --- /dev/null +++ b/third_party/python/BUILD
@@ -0,0 +1,5 @@ +py_library( + name = "pkginfo", + srcs = glob(["pkginfo/*.py"], exclude=["pkginfo/tests/*.py"]), + visibility = ["//visibility:public"], +)