From: mk on
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