You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
356 B
17 lines
356 B
load("@rules_python//python:defs.bzl", "py_binary")
|
|
load("@my_deps//:requirements.bzl", "requirement")
|
|
|
|
py_runtime(
|
|
name = "python38",
|
|
interpreter_path = "/usr/local/bin/python3.8",
|
|
)
|
|
|
|
py_binary(
|
|
name = "main",
|
|
srcs = ["main.py"],
|
|
srcs_version = "PY3",
|
|
deps = [
|
|
requirement("pyyaml"),
|
|
requirement("flask"),
|
|
],
|
|
)
|
|
|