straight-action-80318
09/23/2022, 5:17 PMpex
file that I want to execute by simply running ./my_package.pex
, but I cannot figure out how to pass arguments to the script that’s inside the package. Just adding flags doesn’t seem to get parsed, and passing them via --
doesn’t work either.witty-crayon-22786
09/23/2022, 5:21 PMstraight-action-80318
09/23/2022, 5:24 PMstraight-action-80318
09/23/2022, 5:26 PMstraight-action-80318
09/23/2022, 5:27 PMpex_binary(
name="pex_data_extraction",
entry_point="data_extraction.py",
)
witty-crayon-22786
09/23/2022, 5:27 PMstraight-action-80318
09/23/2022, 5:28 PMwitty-crayon-22786
09/23/2022, 5:28 PMstraight-action-80318
09/23/2022, 5:29 PMstraight-action-80318
09/23/2022, 5:29 PMDiscarding unparseable args
and then lists all the arguments I passstraight-action-80318
09/23/2022, 5:29 PMhappy-kitchen-89482
09/23/2022, 5:30 PMwitty-crayon-22786
09/23/2022, 5:30 PMenough-analyst-54434
09/23/2022, 6:07 PMPEX_VERBOSE=9 ./pex_data_extraction.pex --bob
2. The full output of: unzip -qc ./pex_data_extraction.pex PEX-INFO | jq .
3. The full output of: `zipinfo ./pex_data_extraction.pex``straight-action-80318
09/23/2022, 6:36 PM