//python/private/pypi:env_marker_info.bzl — rules_python 0.0.0 documentation (original) (raw)


Provider for implementing environment marker values.

provider EnvMarkerInfo

The values to use during environment marker evaluation.

Added in version 1.5.0:

EnvMarkerInfo.(env)

EnvMarkerInfo.env_: dict[str, str]_

The values to use for environment markers when evaluating an expression.

The keys and values should be compatible with the PyPA dependency specifiers specification.

Missing values will be set to the specification’s defaults or computed using available toolchain information.