Prev: WANTED: Regular expressions for breaking TeX/LaTeX document intotokens
Next: WANTED: Regular expressions for breaking TeX/LaTeX document into tokens
From: mk on 24 Feb 2010 12:47 On 2010-01-13 20:52, Pascal Chambon wrote: > I've managed to solve that by manually "monkey patching" sys.modules, > before fusemodule's actual import. But this looks like an unsatisfying > solution, to me. Geez.. > Does anyone have a clue about how to freeze a python program cleanly, in > case such inner C extensions are involved ? Does any of the freezers > (freeze.py, py2exe, pyrex, cx_freeze...) do that ? I haven't seen such > things so far in their docs. Go for pyinstaller, I have successfully packaged an app using compiled C extensions this way. Although you will have to add those extensions in "hook" script. Regards, mk |