WORKSPACE 601 B

1234567891011121314151617181920212223
  1. load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
  2. http_archive(
  3. name = "rules_python",
  4. sha256 = "9d04041ac92a0985e344235f5d946f71ac543f1b1565f2cdbc9a2aaee8adf55b",
  5. strip_prefix = "rules_python-0.26.0",
  6. url = "https://github.com/bazelbuild/rules_python/archive/refs/tags/0.26.0.tar.gz",
  7. )
  8. load("@rules_python//python:repositories.bzl", "py_repositories")
  9. py_repositories()
  10. load("@rules_python//python:pip.bzl", "pip_parse")
  11. pip_parse(
  12. name = "deps",
  13. requirements = "//:requirements.txt",
  14. )
  15. load("@deps//:requirements.bzl", "install_deps")
  16. install_deps()