Skip to content

type:docs Update README.md #1186

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 1, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,12 +39,12 @@ the older way of configuring bazel with a `WORKSPACE` file.
### Using bzlmod

To import rules_python in your project, you first need to add it to your
`MODULES.bazel` file, using the snippet provided in the
`MODULE.bazel` file, using the snippet provided in the
[release you choose](https://github.com/bazelbuild/rules_python/releases).

#### Toolchain registration with bzlmod

To register a hermetic Python toolchain rather than rely on a system-installed interpreter for runtime execution, you can add to the `MODULES.bazel` file:
To register a hermetic Python toolchain rather than rely on a system-installed interpreter for runtime execution, you can add to the `MODULE.bazel` file:

```python
# Find the latest version number here: https://github.com/bazelbuild/rules_python/releases
Expand Down Expand Up @@ -161,7 +161,7 @@ target in the appropriate wheel repo.

#### Using bzlmod

To add pip dependencies to your `MODULES.bazel` file, use the `pip.parse` extension, and call it to create the
To add pip dependencies to your `MODULE.bazel` file, use the `pip.parse` extension, and call it to create the
central external repo and individual wheel external repos.

```python
Expand Down