File tree Expand file tree Collapse file tree 3 files changed +8
-3
lines changed
Expand file tree Collapse file tree 3 files changed +8
-3
lines changed Original file line number Diff line number Diff line change 1+ example/
Original file line number Diff line number Diff line change @@ -22,10 +22,13 @@ http_archive(
2222 url = "https://github.com/dillon-giacoppo/rules_python_external/archive/{version}.zip".format(version = rules_python_external_version),
2323)
2424
25- load("@rules_python_external//:defs.bzl", "pip_repository")
25+ # Install the rule dependencies
26+ load("@rules_python_external//:repositories.bzl", "rules_python_external_dependencies")
27+ rules_python_external_dependencies()
2628
27- pip_repository(
28- name = "py_deps",
29+ load("@rules_python_external//:defs.bzl", "pip_install")
30+ pip_install(
31+ name = "py_deps"
2932 requirements = "//:requirements.txt",
3033)
3134```
Original file line number Diff line number Diff line change @@ -20,5 +20,6 @@ rules_python_external_dependencies()
2020
2121load ("@rules_python_external//:defs.bzl" , "pip_install" )
2222pip_install (
23+ # Uses the default repository name "pip"
2324 requirements = "//:requirements.txt" ,
2425)
You can’t perform that action at this time.
0 commit comments