ancient-vegetable-10556
08/26/2022, 5:43 PMox.py
is utter utter madness)enough-analyst-54434
08/26/2022, 5:45 PMenough-analyst-54434
08/26/2022, 5:46 PMhundreds-father-404
08/26/2022, 5:46 PMIs it that the Pants binary is now dual purpose and sometimes needs to be Pants and sometimes Python?I know we said to do this project incrementally, but do we need to? We're on 2.15.0.dev0 today -- that's several releases to iron out kinks Imo, the important thing is that the
./pants
script can continue to support pre-2.15ancient-vegetable-10556
08/26/2022, 5:46 PMancient-vegetable-10556
08/26/2022, 5:47 PMancient-vegetable-10556
08/26/2022, 5:49 PMsys.executable
to find the python interpreter that Pants is running under, and it invokes pex
with that interpreter. In a pyoxed binary, the way the Python interpreter is through the binary itselfancient-vegetable-10556
08/26/2022, 5:49 PMpython -c
and the only Python interpreter you can guarantee is the Pants binaryenough-analyst-54434
08/26/2022, 5:49 PMenough-analyst-54434
08/26/2022, 5:49 PMancient-vegetable-10556
08/26/2022, 5:49 PMancient-vegetable-10556
08/26/2022, 5:50 PMenough-analyst-54434
08/26/2022, 5:50 PMenough-analyst-54434
08/26/2022, 5:50 PMenough-analyst-54434
08/26/2022, 5:50 PMancient-vegetable-10556
08/26/2022, 5:50 PMancient-vegetable-10556
08/26/2022, 5:51 PMenough-analyst-54434
08/26/2022, 5:51 PMancient-vegetable-10556
08/26/2022, 5:52 PMenough-analyst-54434
08/26/2022, 5:53 PMancient-vegetable-10556
08/26/2022, 5:53 PMrunpy
, he says that access to the raw argv
would make a lot of sense, at a minimumenough-analyst-54434
08/26/2022, 5:54 PMenough-analyst-54434
08/26/2022, 5:54 PMancient-vegetable-10556
08/26/2022, 5:54 PMenough-analyst-54434
08/26/2022, 5:55 PMenough-analyst-54434
08/26/2022, 5:55 PMenough-analyst-54434
08/26/2022, 6:06 PMancient-vegetable-10556
08/26/2022, 6:08 PMancient-vegetable-10556
08/26/2022, 6:08 PMenough-analyst-54434
08/26/2022, 6:09 PMenough-analyst-54434
08/26/2022, 6:29 PMancient-vegetable-10556
08/26/2022, 6:30 PMancient-vegetable-10556
08/26/2022, 6:30 PMenough-analyst-54434
08/26/2022, 6:37 PMancient-vegetable-10556
08/26/2022, 6:38 PMancient-vegetable-10556
08/26/2022, 6:45 PM