aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorEd Baunton <edbaunton@gmail.com>2020-03-03 03:23:36 -0500
committerGitHub <noreply@github.com>2020-03-03 09:23:36 +0100
commit399b929a2f3b111dd45deffd38593570d65c000a (patch)
tree053f6dc465d2214c1517fa1fb266829b9d916afe /README.md
parent6cbeb2c953f0fac0bc18eb07a8d7eca5d1809839 (diff)
downloadbazelbuild-rules_python-399b929a2f3b111dd45deffd38593570d65c000a.tar.gz
README: Add missing http_archive import (#266)
Currently if you copy and paste the documented workspace methods you get a failure that `http_archive` is not specified: it needs to be imported. Co-authored-by: lberki <lberki@users.noreply.github.com>
Diffstat (limited to 'README.md')
-rw-r--r--README.md1
1 files changed, 1 insertions, 0 deletions
diff --git a/README.md b/README.md
index ae63f0f..e83fdd0 100644
--- a/README.md
+++ b/README.md
@@ -76,6 +76,7 @@ If you are not using the Federation, you can simply import rules_python
directly and call its initialization methods as follows:
```python
+load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "rules_python",
url = "https://github.com/bazelbuild/rules_python/releases/download/0.0.1/rules_python-0.0.1.tar.gz",