| local_repository( | |
| name = "rules_python", | |
| path = "../../..", | |
| ) | |
| load("@rules_python//python:repositories.bzl", "py_repositories", "python_register_toolchains") | |
| py_repositories() | |
| python_register_toolchains( | |
| name = "python39", | |
| python_version = "3.9", | |
| ) | |
| load("@rules_python//python:pip.bzl", "pip_parse") | |
| pip_parse( | |
| name = "pip_empty", | |
| python_interpreter_target = "@python39_host//:python", | |
| requirements_lock = "//empty:requirements.txt", | |
| ) | |
| load("@pip_empty//:requirements.bzl", "install_deps") | |
| install_deps() |