cloudmatrix / esky

an auto-update framework for frozen python apps
BSD 3-Clause "New" or "Revised" License
362 stars 74 forks source link

Fix for issue #38: Python 3.3: unable to locate initialization module #53

Closed Ecno92 closed 11 years ago

Ecno92 commented 11 years ago

The bootstrap EXE didn't work anymore when using Python 3.3.

Simply creating a check for Python 3.3 and adding the source size to the struckt.pack solves this. We can safely set the source size to zero since Python doesn't check the actual size yet.

Changes are tested with Python 3.3 32-bit on Windows 8 Pro.

By the way, most of the credits go to Anthony_tuininga on bitbucket, he inspired me to implement this. ;) https://bitbucket.org/anthony_tuininga/cx_freeze/commits/032baa5a5d0e19b2bef801cf72d040752d9d7040

Ecno92 commented 11 years ago

Also tested this with Python 3.2 - 32 bit, works fine. I'm quite sure that it will also work for earlier Python versions

rfk commented 11 years ago

thanks!