Am 24.06.2015 um 21:13 schrieb Michael Hale Ligh: > This /var/folders sub directory is also returned by Python's > tempfile.gettempdir() API, which I assume is how (either directly or > indirectly) how pyinstaller determines where to store the temp files.
No, PyInstaller does not (and can not) use Python's tempfile.gettempdir(), because the tempfile has to be created by the bootloader (which is written in C). Possible solutions for your case: 1) Do not use --onefile, thus files will not be extracted into a tempdir. This is what I strongly suggest for your case. 2) set $TEMPDIR to change the location used. But this will change the behaviour of your application, if you are using Python's tempfile.gettempdir() or related. -- Schönen Gruß Hartmut Goebel Dipl.-Informatiker (univ), CISSP, CSSLP Information Security Management, Security Governance, Secure Software Development Goebel Consult, Landshut http://www.goebel-consult.de Blog: http://www.goebel-consult.de/blog/ehrlichkeit-made-in-germany Kolumne: http://www.cissp-gefluester.de/2012-01-in-die-cloud-in-die-cloud-aber-wo-soll-die-sein -- You received this message because you are subscribed to the Google Groups "PyInstaller" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/pyinstaller. For more options, visit https://groups.google.com/d/optout.
