download_or_build_wheel(name, buildtime_deps, pip_args, python, requirement, urls, wheel_name)
name |
A unique name for this rule. |
buildtime_deps |
|
extract_wheels(name, additional_runtime_deps, extras, python, remove_runtime_deps, repository, wheels)
A rule for importing .whl dependencies into Bazel.
This rule is currently used to implement pip_import,
it is not intended to work standalone, and the interface may change.
See pip_import for proper usage.
This rule imports a .whl file as a py_library:
whl_library(
name = "foo",
whl = ":my-whl-file",
repository = "name of pip_import rule",
)
This rule defines a @foo//:pkg py_library target.
name |
A unique name for this rule. |
additional_runtime_deps |
<code>requirements</code> has the dependencies. |
python |
|