Skip to main content
Version: 2.0.x (deprecated)

python-binary


Default settings for creating PEX executables.

Backend: pants.core

Config section: [python-binary]

Basic options

None

Advanced options

emit_warnings

--[no-]python-binary-emit-warnings
PANTS_PYTHON_BINARY_EMIT_WARNINGS
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-]python-binary-pex-emit-warnings
PANTS_PYTHON_BINARY_PEX_EMIT_WARNINGS
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