commit | 5a856e5514e11cf4ef31ae8dd2ebc779db5d6504 | [log] [tgz] |
---|---|---|
author | Richard Levasseur <rlevasseur@google.com> | Mon Sep 16 19:07:40 2024 -0700 |
committer | GitHub <noreply@github.com> | Tue Sep 17 02:07:40 2024 +0000 |
tree | e9653c8302d4e540d222a5f95ca8eb21f295bf28 | |
parent | 63114a330bffcdecd69a97c0ebefea47c8b49621 [diff] |
feat: add //python:none as public target to disable exec_interpreter (#2226) When writing the toolchain docs, I realized there wasn't a public target to use for disabling the exec_interpreter. Fixed by adding an alias to the internal target. Along the way: * Add the exec tools and cc toolchains to the doc gen * A few improvements to the cc/exec tools docs * Add public bzl file for py_exec_tools_toolchain and PyExecToolsInfo * Fix a bug in sphinx_bzl where local names were hiding global names even if the requested type didn't match (e.g. a macro foo referring to rule foo) * Fix xrefs in the python/cc/index.md; it wasn't setting the default domain to bzl * Fix object type definition for attributes: the object type name was "attribute", but everything else was using "attr"; switched to "attr"
This repository is the home of the core Python rules -- py_library
, py_binary
, py_test
, py_proto_library
, and related symbols that provide the basis for Python support in Bazel. It also contains package installation rules for integrating with PyPI and other indices.
Documentation for rules_python is at https://rules-python.readthedocs.io and in the Bazel Build Encyclopedia.
Examples live in the examples directory.
The core rules are stable. Their implementation is subject to Bazel's backward compatibility policy. This repository aims to follow semantic versioning.
The Bazel community maintains this repository. Neither Google nor the Bazel team provides support for the code. However, this repository is part of the test suite used to vet new Bazel releases. See How to contribute page for information on our development workflow.
For detailed documentation, see https://rules-python.readthedocs.io
See Bzlmod support for more details.