On 14 February 2017 at 07:51, Simon Leung <theothersi...@outlook.com> wrote:

> These packages are included relatively like this:
>
>    from . import bla
>
> Perhaps cxfreeze isn't handling this well?
>

cx_Freeze detects imports by reading the compiled Python bytecode. This
mechanism is fairly fragile, as bytecode can change from one Python release
to the next, and I've encountered silent failures with it before. I think
it might be more reliable to detect imports based on the AST - although
that can also change with each Python version, I suspect it's easier to
reason about and detect when it's going wrong.
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
cx-freeze-users mailing list
cx-freeze-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/cx-freeze-users

Reply via email to