HomeDocs
DocsCommunityTestimonialsUsersGitHubTwitterBlogJobsTermsPrivacyCookies
TermsPrivacyCookies
Hey! These docs are for version 2.13, which is no longer officially supported. Click here for the latest version, 2.18!

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

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


resolve_local_platforms

--[no-]pex-binary-defaults-resolve-local-platforms

PANTS_PEX_BINARY_DEFAULTS_RESOLVE_LOCAL_PLATFORMS

default: False

For each of the platforms specified for a pex_binary target, attempt to find a local interpreter that matches.

If a matching interpreter is found, use the interpreter to resolve distributions and build any that are only available in source distribution form. If no matching interpreter is found (or if this option is False), resolve for the platform by accepting only pre-built binary distributions (wheels).


Deprecated options

None