From edd4b2ea788759f0da8c52b0737430e4ecf3f04b Mon Sep 17 00:00:00 2001 From: Reid 'arrdem' McKenzie Date: Tue, 3 Aug 2021 19:28:13 -0600 Subject: [PATCH] Simplify using py_project --- projects/proquint/BUILD | 20 +++++--------------- 1 file changed, 5 insertions(+), 15 deletions(-) diff --git a/projects/proquint/BUILD b/projects/proquint/BUILD index f3fceeb..6df8403 100644 --- a/projects/proquint/BUILD +++ b/projects/proquint/BUILD @@ -1,16 +1,6 @@ -py_library( - name = "lib", - srcs = glob(["src/python/**/*.py"]), - imports = [ - "src/python", - ], -) - -py_pytest( - name = "test", - srcs = glob(["test/python/**/*.py"]), - deps = [ - ":lib", - py_requirement("hypothesis"), - ], +py_project( + name = "proquint", + test_deps = [ + py_requirement("hypothesis"), + ], )