//python

//python:toolchain_type

Identifier for the toolchain type for the target platform.

//python:exec_tools_toolchain_type

Identifier for the toolchain type for exec tools used to build Python targets.

//python:current_py_toolchain

Helper target to resolve to the consumer’s current Python toolchain. This target provides:

  • PyRuntimeInfo: The consuming target’s target toolchain information

//python:autodetecting_toolchain

Legacy toolchain; despite its name, it doesn’t autodetect anything.

Deprecated since version 0.34.0: Use @rules_python//python/runtime_env_toolchain:all instead.