msys2 / MINGW-packages

Package scripts for MinGW-w64 targets to build under MSYS2.
https://packages.msys2.org
BSD 3-Clause "New" or "Revised" License
2.31k stars 1.23k forks source link

py2exe: fix building with python 3.12 #22429

Closed raedrizqie closed 3 weeks ago

mmuetzel commented 3 weeks ago

Does py2exe actually work with that change? If I understand the conversation on https://github.com/py2exe/py2exe/issues/191 correctly, it builds but doesn't work correctly with the file that @rkbennett was proposing about a year ago...

raedrizqie commented 3 weeks ago

yeah.. it doesn't even work with this simple test..

# freeze.py

from py2exe import freeze

freeze(
    console = [ 'main.py' ],
    data_files = None,
)
# main.py

print("Hello!")

run with: python freeze.py