I went ahead and prepared PR - 
https://github.com/pyinstaller/pyinstaller/pull/8662

I believe that the result patch is straightforward and reasonable.

Thanks in advance for the consideration and review.

Tomáš Čech

Dne úterý 16. července 2024 v 15:00:24 UTC+2 uživatel Sleep Walker napsal:

> 1) staticx doesn't support onedir mode and I have more utilities to pack - 
> having onefile would bloat the result a lot for no reason
> 2) docker is not present dependency in my usecase
> 3) rest of the code seems to be already ready for this scenario (but not 
> onedir mode on POSIX platform)
> 4) fix is easy - just use the dynamic loader if it is already detected
>
> Would the patch be accepted? I imagine that the change like:
> - linker_filename would be added to PYI_CONTEXT
> - linker_filename would be filled if dynamic loader is used for call 
> (requires modification of function prototype so it can be filled in)
> - if linker_filename is set, it would be used in 
> _pyi_main_handle_posix_onedir()
>
> Best regards,
>
> Tomáš Čech
>
>
> Dne úterý 16. července 2024 v 14:30:14 UTC+2 uživatel bwoodsend napsal:
>
>> Any reason why you can't just use staticx or build on an old Docker 
>> container to make your application portable? I doubt anyone wants to 
>> support this case.
>>
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/pyinstaller/8e7a0789-ee2a-4be5-9da0-0cacc41af09en%40googlegroups.com.

Reply via email to