-
-
Notifications
You must be signed in to change notification settings - Fork 292
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support injecting args and env vars in a PEX. (#1948)
Pex now supports setting defaults for environment variables and injecting default arguments for the entry point chosen at PEX build time. This eliminates the need for projects like https://github.com/kwlzn/pyuwsgi_pex and makes it easy to package a PEXed framework app where the main entry point is fixed in the framework and the hooks are configured to point to user supplied entry points. This removes the last known legitimate API use of Pex and paves the way for Pex 3 to be cut in good conscience with a CLI-only API that does not hinder any known use cases. Fixes #987
- Loading branch information
Showing
6 changed files
with
418 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.