Skip to main content
Version: 2.0 (deprecated)

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

Deprecated options

pex_emit_warnings

--[no-]pex-binary-defaults-pex-emit-warnings
PANTS_PEX_BINARY_DEFAULTS_PEX_EMIT_WARNINGS
pants.toml
[pex-binary-defaults]
pex_emit_warnings = <bool>
default: True
Deprecated, will be removed in version: 2.1.0.dev0.
Use `emit_warnings` rather than `pex_emit_warnings`.

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

None