'Sharing the Python libraries created by cx_Freeze between executables for different platforms
I need to integrate a Python program as an executable in a Matlab application, and this should work across platforms. I have managed to do this using cx_Freeze. I now have two folders, called exe.linux... and exe.win..., which each have a folder called lib of roughly the same size and with mostly identical content (lots of .pyc files for various Python modules).
Is there a way to only have one lib folder which is shared by the executables for various platforms? It would save a considerable amount of space, as my applications needs to use packages such as numpy and scipy, which are now included twice.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
