build(python): align toolchain with monorepo pattern
This commit is contained in:
4
third_party/python/README.md
vendored
4
third_party/python/README.md
vendored
@@ -1,7 +1,7 @@
|
||||
# Vendored Python packages
|
||||
|
||||
This package exposes vendored Python dependencies through stable public Bazel targets.
|
||||
Bazel runs Python targets with the local `python3` runtime.
|
||||
Bazel uses `PYTHON_TOOLCHAIN_ROOT` to find the monorepo `python3` runtime.
|
||||
|
||||
Project code depends on aliases in `//third_party/python`.
|
||||
It does not depend on versioned package directories directly.
|
||||
@@ -22,7 +22,7 @@ Use the upstream package name for public aliases.
|
||||
For command-line tools, add a `_bin` suffix to the binary target.
|
||||
|
||||
Preserve upstream license files and package metadata.
|
||||
Keep local Bazel files separate from upstream source when possible.
|
||||
Keep repository Bazel files separate from upstream source when possible.
|
||||
|
||||
Add optional dependencies as separate public targets.
|
||||
Do not bundle optional dependencies into the primary package target.
|
||||
|
||||
Reference in New Issue
Block a user