[issue29124] Freeze fails to compile on windows

2021-03-13 Thread Eryk Sun
Change by Eryk Sun : -- versions: +Python 3.10, Python 3.8, Python 3.9 -Python 3.5, Python 3.6, Python 3.7 ___ Python tracker ___ _

[issue29124] Freeze fails to compile on windows

2017-01-02 Thread Steve Dower
Steve Dower added the comment: Ah, I was thinking of platform.machine(). -- ___ Python tracker ___ ___ Python-bugs-list mailing list U

[issue29124] Freeze fails to compile on windows

2017-01-01 Thread Eryk Sun
Eryk Sun added the comment: Using platform.architecture [1] is fine here. `bits` defaults to the size of a pointer in the current process, i.e. `struct.calcsize('P') * 8`. On Windows, it's useless for anything except the default parameters. It doesn't call GetBinaryType [2] to distinguish 32-

[issue29124] Freeze fails to compile on windows

2017-01-01 Thread Steve Dower
Steve Dower added the comment: Is platform.architecture() the right way to determine what platform you're targeting? This will tell you the current OS, but typically you want to know the architecture of the Python process (since you often run 32-bit processes on 64-bit Windows). If you just wa

[issue29124] Freeze fails to compile on windows

2016-12-31 Thread Liran Ringel
New submission from Liran Ringel: The patch fixes 3 bugs: 1. Include Python.h in frozen_dllmain.c - needed for Py_ARRAY_LENGTH symbol 2. DL_IMPORT is used in checkextensions_win32.py, but it's deprecated and not defined anymore. Replaced it with __declspec(dllimport) 3. Fix python lib path in wi