quaint-forest-8735
08/05/2022, 1:45 PMpex_binary
? Trying to figure out the exact arguments that pex
is called with as part of writing a Bazel pex_binary
target (to ease our transition to pants)bitter-ability-32190
08/05/2022, 1:51 PM./pants --no-proccess-cleanup package ...
It will log tempdirs used for processes, one of which will be for building the pex. Open the sandbox and inspect __run.sh
for the commandquaint-forest-8735
08/05/2022, 1:57 PM/usr/local/bin/python ./pex --tmpdir .tmp --python-path $'...path entries...' --output-file my_binary.pex --no-emit-warnings --manylinux manylinux2014 --intransitive --interpreter-constraint $'CPython==3.9.13' $'--sources-directory=source_files' --no-pypi $'--index=<https://pypi.org/simple/>' --resolver-version pip-2020-resolver --layout zipapp
Found this in the tempdir that assembled local_dist.pex
bitter-ability-32190
08/05/2022, 2:04 PM