• Home
  • Raw
  • Download

Lines Matching full:pip

6 Using PyPI packages (aka "pip install") involves two main steps.
16 To add pip dependencies to your `MODULE.bazel` file, use the `pip.parse`
22 pip = use_extension("@rules_python//python/extensions:pip.bzl", "pip")
23 pip.parse(
28 use_repo(pip, "my_deps")
32 for the {obj}`@rules_python//python/extensions:pip.bzl` extension.
35 We are using a host-platform compatible toolchain by default to setup pip dependencies.
49 To add pip dependencies to your `WORKSPACE`, load the `pip_parse` function and
53 load("@rules_python//python:pip.bzl", "pip_parse")
88 …inations. This is enabled via the `requirements_by_platform` attribute in `pip.parse` extension an…
117 ### pip rules
119 Note that since `pip_parse` and `pip.parse` are executed at evaluation time,
121 interpreter used to invoke `pip` matches the interpreter used to run
124 `python_interpreter_target` attribute to `pip_parse`. The `pip.parse` `bzlmod` extension
127 You can have multiple `pip_parse`s in the same workspace, or use the pip
143 repo's `//:requirements.bzl` file. This function maps a pip package
174 `package` is the pip package name with characters that are illegal in
314 using {bzl:attr}`experimental_index_url` for the {bzl:obj}`pip.parse` bzlmod tag class
315 or by using the {bzl:attr}`pip.parse.download_only` setting. In this section we
340 With these 2 files your {bzl:obj}`pip.parse` could look like:
342 pip.parse(
343 hub_name = "pip",
345 # Tell `pip` to ignore sdists
354 With this, the `pip.parse` will create a hub repository that is going to
366 The `bzlmod` `pip.parse` call supports pulling information from `PyPI` (or a
371 It also avoids using `pip` altogether and results in much faster dependency
377 When using this feature during the `pip` extension evaluation you will see the accessed indexes sim…
381 Fetching module extension pip in @@//python/extensions:pip.bzl; starting