setup-python icon indicating copy to clipboard operation
setup-python copied to clipboard

provide python without RUNPATH for staticx-support

Open Andrwe opened this issue 2 years ago • 5 comments

Description: I want to use this project as GH action to generate a statically linked python binary using staticx.

While implementing the workflow I ran into https://github.com/JonathonReinhart/staticx/issues/188 due to the usage DT_RUNPATH.

It would be nice to have a setup-python version which does not use RUNPATH for use-cases like this.

Justification: I understand that using RUNPATH simplifies the process of provinding a self-contained and reusable venv. Unfortunately for running staticx that is bad because the generated binary will check the path defined by RUNPATH on the system running it and not be fully self-contained.

Are you willing to submit a PR? Yes, but unfortunately I don't know TypeScript and cannot grasp the work required.

Andrwe avatar Jan 31 '22 11:01 Andrwe