indygreg / PyOxidizer

A modern Python application packaging and distribution tool
Mozilla Public License 2.0
5.32k stars 227 forks source link

pyoxidizer temporary files placement #730

Open azat opened 7 months ago

azat commented 7 months ago

After https://github.com/indygreg/PyOxidizer/commit/5a36478710961 they will be placed near the binary, but sometimes it creates troubles.

For instance, when I need to pack this into brew formula I need to apply a hack - copy the binary to the tmp directory, since otherwise it will got EPERM error - https://github.com/Homebrew/homebrew-core/pull/157665/files#diff-9ee72002d07d6e92c8c603336e2241931cc327d3056543c40d2660ac3cd698e7R19

Maybe some env parameter to configure this behaviour?