Replies: 1 comment 1 reply
-
First to your assumption: it's not correct; you don't actually need to use
If - for whatever reason - you do want to use the traditional file system APIs ( #!/usr/bin/env bash
set -euo pipefail
export PEX_ROOT=$(mktemp -d)
trap "rm -rf ${PEX_ROOT}" EXIT
/path/to/my/pex "$@" |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Because I need to read a datafile, I assume I have to use
--not-zip-safe
and therefore when I run my pex-ed file it will unzip to~/.pex
. Is there a way to instruct pex to unzip to a randomly generated directory within /tmp? i.e. I don't need to cache the unzipped wheels.Beta Was this translation helpful? Give feedback.
All reactions