I've answered several questions from people who saw "missing modules"
in the output when running cx_Freeze, and assumed there was a problem.
Often they're just conditional imports for different platforms,
different versions of Python, and so on. I.e. a program might have:

try:
    import tkinter   # Python 3
except ImportError:
    import Tkinter as tkinter   # Python 2

cx_Freeze will try to find both, and will report the one it can't find
as missing, even though it's not necessary.

Can we make this output any clearer? In the simplest case, we could
just add a message after that section saying "this isn't necessarily a
problem". Going one level more complex, we could have a list of names
that can be ignored (e.g. on Python 3, we know not to expect Tkinter),
but I'm not sure that the benefits of that are worth the added
complexity.

Thanks,
Thomas

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
cx-freeze-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/cx-freeze-users

Reply via email to