-
Notifications
You must be signed in to change notification settings - Fork 542
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Multi-platform solution for python single executables #310
Comments
This issue has been automatically marked as stale because it has not had any activity for 180 days. It will be closed if no further activity occurs in 30 days. |
This issue has been automatically marked as stale because it has not had any activity for 180 days. It will be closed if no further activity occurs in 30 days. |
This issue was automatically closed because it went 30 days without a reply since it was labeled "Can Close?" |
Perhaps this should be reopened?
|
This should be implemented as a separate ruleset if needed, keeping rules_python small and focused. |
Understood. It looks like progress is being made on PEX for |
Bazel currently has good support for creating single executable python binary outputs (e.g python zip and previously, par), however these formats don't support producing a single file that is compatible with multiple platforms (e.g. Linux and MacOS) when dependencies include platform-specific dependencies.
Some solutions exist for this problem (e.g. the pex format supports that use case by including all the various wheels in the output file and doing some magic with sys.path at runtime) but no such thing is currently supported by
rules_python
.It would be great to have a solution to support the multi-platform case for python binaries.
The text was updated successfully, but these errors were encountered: