hundreds-father-404
03/15/2020, 10:44 PMwitty-crayon-22786
03/15/2020, 10:45 PMwitty-crayon-22786
03/15/2020, 10:46 PMwitty-crayon-22786
03/15/2020, 10:47 PMPEX entry point options:
Specify what target/module the PEX should invoke if any.
-m MODULE[:SYMBOL], -e MODULE[:SYMBOL], --entry-point=MODULE[:SYMBOL]
Set the entry point to module or module:symbol. If
just specifying module, pex behaves like python -m,
e.g. python -m SimpleHTTPServer. If specifying
module:symbol, pex imports that symbol and invokes it
as if it were main.
-c SCRIPT_NAME, --script=SCRIPT_NAME, --console-script=SCRIPT_NAME
Set the entry point as to the script or console_script
as defined by a any of the distributions in the pex.
For example: "pex -c fab fabric" or "pex -c mturk
boto".
--validate-entry-point
Validate the entry point by importing it in separate
process. Warning: this could have side effects. For
example, entry point `a.b.c:m` will translate to `from
a.b.c import m` during validation. [Default: False]