pex-binary-defaults
Default settings for creating PEX executables.
Backend: ``
Config section: [pex-binary-defaults]
Basic options
None
Advanced options
emit_warnings
--[no-]pex-binary-defaults-emit-warnings
PANTS_PEX_BINARY_DEFAULTS_EMIT_WARNINGS
pants.toml
[pex-binary-defaults]
emit_warnings = <bool>
default:
True
Whether 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-platforms
PANTS_PEX_BINARY_DEFAULTS_RESOLVE_LOCAL_PLATFORMS
pants.toml
[pex-binary-defaults]
resolve_local_platforms = <bool>
default:
False
For 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