Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit a4a1ccf

Browse filesBrowse files
author
Jonathon Belotti
authored
Remove the rules_python_external README (bazel-contrib#391)
1 parent bbe0712 commit a4a1ccf
Copy full SHA for a4a1ccf

File tree

2 files changed

+14
-146
lines changed
Filter options

2 files changed

+14
-146
lines changed

‎README.md

Copy file name to clipboardExpand all lines: README.md
+14Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -196,6 +196,20 @@ are replaced with `_`. While this naming pattern doesn't change often, it is
196196
not guaranted to remain stable, so use of the `requirement()` function is
197197
recommended.
198198

199+
### Consuming Wheel Dists Directly
200+
201+
If you need to depend on the wheel dists themselves, for instance to pass them
202+
to some other packaging tool, you can get a handle to them with the `whl_requirement` macro. For example:
203+
204+
```python
205+
filegroup(
206+
name = "whl_files",
207+
data = [
208+
whl_requirement("boto3"),
209+
]
210+
)
211+
```
212+
199213
## Migrating from the bundled rules
200214

201215
The core rules are currently available in Bazel as built-in symbols, but this

‎python/pip_install/README.md

Copy file name to clipboardExpand all lines: python/pip_install/README.md
-146Lines changed: 0 additions & 146 deletions
This file was deleted.

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.