1234567891011121314151617181920212223 |
- load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
- http_archive(
- name = "rules_python",
- sha256 = "9d04041ac92a0985e344235f5d946f71ac543f1b1565f2cdbc9a2aaee8adf55b",
- strip_prefix = "rules_python-0.26.0",
- url = "https://github.com/bazelbuild/rules_python/archive/refs/tags/0.26.0.tar.gz",
- )
- load("@rules_python//python:repositories.bzl", "py_repositories")
- py_repositories()
- load("@rules_python//python:pip.bzl", "pip_parse")
- pip_parse(
- name = "deps",
- requirements = "//:requirements.txt",
- )
- load("@deps//:requirements.bzl", "install_deps")
- install_deps()
|