blob: 359ec9f9355354c3959937c6b40a0f242e84c40a [file]
module(name = "compile_pip_requirements")
bazel_dep(name = "rules_python", version = "0.0.0")
local_path_override(
module_name = "rules_python",
path = "../../..",
)
python = use_extension("@rules_python//python/extensions:python.bzl", "python")
python.toolchain(
python_version = "3.11",
)
pip = use_extension("@rules_python//python/extensions:pip.bzl", "pip")
pip.parse(
hub_name = "pip_empty",
python_version = "3.11",
requirements_lock = "//empty:requirements.txt",
)
use_repo(pip, "pip_empty")