Skip to main content
Version: 2.23 (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

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
Deprecated, will be removed in version: 2.24.0.dev0.
This `resolve_local_platforms` option is no longer used now that the `platforms` field has been removed. You can safely delete this setting.

Now unused.

None