Lines Matching full:rules_python
11 Documentation for rules_python lives in the
12 [`docs/`](https://github.com/bazelbuild/rules_python/tree/main/docs)
23 Once migrated to rules_python, they may evolve at a different
37 The following two sections cover using `rules_python` with bzlmod and
44 The first step to using rules_python with bzlmod is to add the dependency to
49 # https://github.com/bazelbuild/rules_python/releases.
50 bazel_dep(name = "rules_python", version = "0.0.0")
56 load("@rules_python//python:py_binary.bzl", "py_binary")
68 `rules_python`. Note, however, the version used tracks the most recent Python
89 python = use_extension("@rules_python//python/extensions:python.bzl", "python")
114 python = use_extension("@rules_python//python/extensions:python.bzl", "python")
138 To import rules_python in your project, you first need to add it to your
140 [release you choose](https://github.com/bazelbuild/rules_python/releases)
149 # https://github.com/bazelbuild/rules_python/releases.
156 name = "rules_python",
158 strip_prefix = "rules_python-{}".format(VERSION),
159 …url = "https://github.com/bazelbuild/rules_python/releases/download/{}/rules_python-{}.tar.gz".for…
162 load("@rules_python//python:repositories.bzl", "py_repositories")
172 load("@rules_python//python:repositories.bzl", "python_register_toolchains")
176 # Available versions are listed in @rules_python//python:versions.bzl.
183 load("@rules_python//python:pip.bzl", "pip_parse")
193 is still used to 'bootstrap' Python targets (see https://github.com/bazelbuild/rules_python/issues/…
198 … other bazel rules, such as `genrule()`, by adding the `toolchains=["@rules_python//python:current…
206 load("@rules_python//python:defs.bzl", "py_binary")
228 pip = use_extension("@rules_python//python/extensions:pip.bzl", "pip")
243 load("@rules_python//python:pip.bzl", "pip_parse")
330 [requirements-drawbacks]: https://github.com/bazelbuild/rules_python/issues/414
356 See the documentation for Gazelle with rules_python [here](gazelle).
361 form is deprecated. Instead, you should depend on rules_python in your
363 `@rules_python//python:defs.bzl`.