10000 README: Add missing http_archive import (#266) · alexeagle/rules_python@399b929 · GitHub
[go: up one dir, main page]

Skip to content

Commit 399b929

Browse files
edbauntonlberki
andauthored
README: Add missing http_archive import (bazel-contrib#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>
1 parent 6cbeb2c commit 399b929

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,7 @@ If you are not using the Federation, you can simply import rules_python
7676
directly and call its initialization methods as follows:
7777

7878
```python
79+
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
7980
http_archive(
8081
name = "rules_python",
8182
url = "https://github.com/bazelbuild/rules_python/releases/download/0.0.1/rules_python-0.0.1.tar.gz",

0 commit comments

Comments
 (0)
0