aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorJonathon Belotti <jonathon@canva.com>2021-01-10 23:54:33 +1100
committerGitHub <noreply@github.com>2021-01-10 23:54:33 +1100
commita4a1ccffc666db5376342789ad021a943fb84256 (patch)
tree68577b01a0f9ae958d4c73f4ca3fdc19a74d3770 /README.md
parentbbe0712276ee2c9cd216323783fbdbfa15da7c99 (diff)
downloadbazelbuild-rules_python-a4a1ccffc666db5376342789ad021a943fb84256.tar.gz
Remove the rules_python_external README (#391)
Diffstat (limited to 'README.md')
-rw-r--r--README.md14
1 files changed, 14 insertions, 0 deletions
diff --git a/README.md b/README.md
index 7a2721f..b139a64 100644
--- a/README.md
+++ b/README.md
@@ -196,6 +196,20 @@ are replaced with `_`. While this naming pattern doesn't change often, it is
not guaranted to remain stable, so use of the `requirement()` function is
recommended.
+### Consuming Wheel Dists Directly
+
+If you need to depend on the wheel dists themselves, for instance to pass them
+to some other packaging tool, you can get a handle to them with the `whl_requirement` macro. For example:
+
+```python
+filegroup(
+ name = "whl_files",
+ data = [
+ whl_requirement("boto3"),
+ ]
+)
+```
+
## Migrating from the bundled rules
The core rules are currently available in Bazel as built-in symbols, but this