cool-easter-32542
09/22/2023, 11:48 AMbinary goal uses PEX to build a python binary. Unfortunately PEX does not include a python interpreter in the binary. An alternative solution is to build a binary using pyinstaller (which bundles the python interpreter in the binary) and staticx (which makes the binary platform independent). After a discussion on the slack channel with the pants team I have opened this ticket.
Possible cli
• update existing binary goal
./pants binary --type=pyinstaller <binary-target>
• new goal
./pants pyinstaller-bin <binary-target>
If this cannot be implemented by you team, can you point me into the direction for me to start working on this?
Thanks
Adrian
pantsbuild/pantscool-easter-32542
09/22/2023, 11:48 AM