Skip to main content
Version: 2.0 (deprecated)

python-binary


Default settings for creating PEX executables.

Backend: ``

Config section: [python-binary]

Basic options

None

Advanced options

emit_warnings

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