You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+10-4Lines changed: 10 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,9 +2,15 @@
2
2
3
3
`aspect_rules_py` is a layer on top of [rules_python](https://github.com/bazel-contrib/rules_python), the reference Python ruleset.
4
4
5
-
The lower layer of `rules_python` is currently reused, dealing with interpreter toolchains and other details.
5
+
The bottom layer of `rules_python` is currently reused, which supports interpreter toolchains, interop providers, and other details.
6
+
7
+
`rules_py` can be used with the `pip` machinery in rules_python. However we also provide an alternative using `uv`, see below for details.
8
+
9
+
`rules_py` introduces new implementations of the end-user rules, `py_library`, `py_binary`, `py_test`.
10
+
11
+
Finally, we pre-compile the Python gazelle extension into our https://github.com/aspect-build/aspect-gazelle,
12
+
this gives developers a faster path to updating BUILD files without requiring a functional cgo toolchain.
6
13
7
-
However, this ruleset introduces new implementations of `py_library`, `py_binary`, `py_test` and now `uv`.
8
14
Our philosophy is to behave more like idiomatic python ecosystem tools, where rules_python is closely
9
15
tied to the way Google does Python development in their internal monorepo, google3.
10
16
However we try to maintain compatibility with rules_python's rules for most use cases.
@@ -14,9 +20,9 @@ However we try to maintain compatibility with rules_python's rules for most use
0 commit comments