diff options
author | Jonathon Belotti <jonathon@canva.com> | 2021-01-10 23:54:33 +1100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-01-10 23:54:33 +1100 |
commit | a4a1ccffc666db5376342789ad021a943fb84256 (patch) | |
tree | 68577b01a0f9ae958d4c73f4ca3fdc19a74d3770 /README.md | |
parent | bbe0712276ee2c9cd216323783fbdbfa15da7c99 (diff) | |
download | bazelbuild-rules_python-a4a1ccffc666db5376342789ad021a943fb84256.tar.gz |
Remove the rules_python_external README (#391)
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 14 |
1 files changed, 14 insertions, 0 deletions
@@ -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 |