pex-binary-defaults
Default settings for creating PEX executables.
Backend: pants.backend.python
Config section: [pex-binary-defaults]
Basic options
None
Advanced options
emit_warnings
--[no-]pex-binary-defaults-emit-warningsPANTS_PEX_BINARY_DEFAULTS_EMIT_WARNINGSpants.toml
[pex-binary-defaults]
emit_warnings = <bool>
default:
TrueWhether built PEX binaries should emit PEX warnings at runtime by default.
Can be overridden by specifying the emit_warnings parameter of individual pex_binary targets
resolve_local_platforms
--[no-]pex-binary-defaults-resolve-local-platformsPANTS_PEX_BINARY_DEFAULTS_RESOLVE_LOCAL_PLATFORMSpants.toml
[pex-binary-defaults]
resolve_local_platforms = <bool>
default:
FalseFor each of the platforms specified for a pex_binary target, attempt to find a local interpreter that matches.
If a matching interpreter is found, use the interpreter to resolve distributions and build any that are only available in source distribution form. If no matching interpreter is found (or if this option is False), resolve for the platform by accepting only pre-built binary distributions (wheels).
Deprecated options
None
Related subsystems
None