3 ms·
Has anyone figured out to how to “cross-compile” Python? By this I mean creating an app bundle that contains the dependencies but for another platform than the
by ildjarn 3y ago
Has anyone figured out to how to “cross-compile” Python?
By this I mean creating an app bundle that contains the dependencies but for another platform than the one we are bundling on.
- jvolkman 3y agoProbably not what you're looking for, but I put together a demo of actually cross-compiling a wheel the other day: https://github.com/jvolkman/bazel-pycross-zstandard-example https://github.com/jvolkman/bazel-pycross-zstandard-example But if you just mean that you want to gather the dependencies for a platform other than your build host: this should be possible with the help of Poetry and PDM since they both perform cross-platform resolution.
- ildjarn 3y agorules_pycross looks very interesting and is sorely needed in the Python ecosystem. I will follow its development!