2021-04-09 07:38:49 +00:00
|
|
|
package(default_visibility = ["//visibility:public"])
|
|
|
|
|
|
|
|
py_library(
|
|
|
|
name = "lib",
|
2024-02-06 18:18:33 +00:00
|
|
|
srcs = glob(["src/flowmetal/*.py"]),
|
2021-05-15 00:47:57 +00:00
|
|
|
imports = [
|
|
|
|
"src/python"
|
2021-05-09 05:31:19 +00:00
|
|
|
],
|
2021-04-09 07:38:49 +00:00
|
|
|
deps = [
|
|
|
|
]
|
|
|
|
)
|
2021-05-09 05:31:19 +00:00
|
|
|
|
|
|
|
py_binary(
|
|
|
|
name = "server",
|
|
|
|
deps = [
|
|
|
|
":lib",
|
|
|
|
py_requirement("click"),
|
|
|
|
py_requirement("redis"),
|
|
|
|
],
|
2024-02-06 18:18:33 +00:00
|
|
|
main = "src/flowmetal/__main__.py",
|
2021-05-09 05:31:19 +00:00
|
|
|
)
|