MODULE.bazel 510 B

1234567891011121314151617181920
  1. module(name = "www_gdritter_site")
  2. bazel_dep(name = "rules_python", version = "1.8.0-rc3")
  3. python = use_extension("@rules_python//python/extensions:python.bzl", "python")
  4. python.toolchain(python_version = "3.9.25")
  5. use_repo(
  6. python,
  7. python_3_9 = "python_3_9_25",
  8. )
  9. pip = use_extension("@rules_python//python/extensions:pip.bzl", "pip")
  10. pip.parse(
  11. download_only = True,
  12. hub_name = "pypi",
  13. python_version = "3.9.25",
  14. requirements_lock = "//:requirements.txt",
  15. )
  16. use_repo(pip, "pypi")