Skip to content

runtime_tmpdir #7547

Answered by rokm
MickeMannen asked this question in Help
Apr 7, 2023 · 1 comments · 4 replies
Discussion options

You must be logged in to vote

PyInstalle'rs bootloader does not perform environment variable expansion on your custom runtime_tmpdir string, so you cannot use environment variables, such as ~ (or $HOME). So you cannot set runtime dir to dynamically resolve your home directory, except perhaps by using default runtime_tmpdir and overriding TMPDIR in a wrapper script that launches your executable.

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@MickeMannen
Comment options

@paul-ngo
Comment options

@rokm
Comment options

@paul-ngo
Comment options

Answer selected by MickeMannen
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
3 participants