File tree Expand file tree Collapse file tree 1 file changed +8
-7
lines changed
Expand file tree Collapse file tree 1 file changed +8
-7
lines changed Original file line number Diff line number Diff line change @@ -11,26 +11,27 @@ boto3==1.9.253
1111```
1212
1313In ` WORKSPACE `
14+
1415```
1516rules_python_external_version = "{COMMIT_SHA}"
1617
17- git_repository (
18+ http_archive (
1819 name = "rules_python_external",
19- commit = rules_python_external_version,
20- remote = "[email protected] :dillon-giacoppo/ rules_python_external.git" , 21- shallow_since = "1572846707 +1100" ,
20+ sha256 = "", # Fill in with correct sha256 of your COMMIT_SHA version
21+ strip_prefix = "rules_python_external-{version}".format(version = rules_python_external_version) ,
22+ url = "https://github.com/dillon-giacoppo/rules_python_external/archive/{version}.zip".format(version = rules_python_external_version) ,
2223)
2324
24-
2525load("@rules_python_external//:defs.bzl", "pip_repository")
2626
2727pip_repository(
2828 name = "py_deps",
29- requirements = "//:requirements.txt",
29+ requirements = "//third_party :requirements.txt",
3030)
3131```
3232
33- In ` BUILD `
33+ Example ` BUILD ` file.
34+
3435```
3536load("@py_deps//:requirements.bzl", "requirement")
3637
You can’t perform that action at this time.
0 commit comments