Skip to main content
Version: 2.24 (prerelease)

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-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

None

None