Stable releases #74
Replies: 4 comments 1 reply
-
Maybe this could be cool - so for every code release we also generate a windos,linux, and mac application: |
Beta Was this translation helpful? Give feedback.
-
Limitations PyInstaller supports making executables for Windows, Linux, and macOS, but it cannot cross compile. Therefore, you cannot make an executable targeting one Operating System from another Operating System. So, to distribute executables for multiple types of OS, you’ll need a build machine for each supported OS. Related to the cross compile limitation, it’s useful to know that PyInstaller does not technically bundle absolutely everything your application needs to run. Your executable is still dependent on the users’ glibc. Typically, you can work around the glibc limitation by building on the oldest version of each OS you intend to target. For example, if you want to target a wide array of Linux machines, then you can build on an older version of CentOS. This will give you compatibility with most versions newer than the one you build on. This is the same strategy described in PEP 0513 and is what the PyPA recommends for building compatible wheels. In fact, you might want to investigate using the PyPA’s manylinux docker image for your Linux build environment. You could start with the base image then install PyInstaller along with all your dependencies and have a build image that supports most variants of Linux. |
Beta Was this translation helpful? Give feedback.
-
Hey @joelfiddes, I published a new release, v0.2.2, including the |
Beta Was this translation helpful? Give feedback.
-
just adding a useful documentation of reproducible builds here: |
Beta Was this translation helpful? Give feedback.
-
Ive been having a ton of issues with dependencies recently and also not being able to reproduce old sims because of developments. A lot of this is my own fault probably ;)
It does seem tho there is a generic problem when the environment and code are not bound together:
Maybe my workflow is fundamentally :) flawed but I think something along those lines would be really useful?
Beta Was this translation helpful? Give feedback.
All reactions