In article <[EMAIL PROTECTED]>, Giovanni Bajo <[email protected]> wrote: >Han-Wen Nienhuys <[EMAIL PROTECTED]> wrote: > >> I was wondering whether it is possible to cross-build installers with >> PyInstaller, that is: to create a windows binary on a Linux machine. >> I gather that it's not possible now, but could it ever be? > >It's theoretically possible, but pratically very difficult to implement. >There are many implicit/explicit assumptions that the version of Python with >which you're running Build.py it's the same with will be contained in the >final package, and this pretty much defeats cross-compiling. Notice that, >for this reason, it is equally hard to use e.g. Python 2.3 to package a >Python 2.4 binary.
This is actually not a problem at all. I'm willing to locally build a Python version that exactly matches the cross-built version. Other than that, are there obstacles? For example, does PyInstaller rely on reflection to decide which modules to package? _______________________________________________ PyInstaller mailing list [email protected] http://lists.hpcf.upr.edu/mailman/listinfo/pyinstaller
