On 23 April 2012 13:24, Thomas <[email protected]> wrote:
> Missing modules:
> ? _md5 imported from hashlib
> ? _scproxy imported from urllib
> ? _sha imported from hashlib
> ? _sha256 imported from hashlib
> ? _sha512 imported from hashlib
> ? _subprocess imported from subprocess
> ? configparser imported from apport.fileutils
> ? ctypes.macholib.dyld imported from ctypes.util
> ? netbios imported from uuid
> ? usercustomize imported from site
> ? win32wnet imported from uuid
>
> I have included the missing dirs in the include list in setup.py,
> however, it still does not work.

It's not necessarily a problem: there are often modules that only
exist on certain platforms. E.g. here's the code from urllib (darwin
means Mac OS X):

if sys.platform == 'darwin':
    from _scproxy import _get_proxy_settings, _get_proxies

cx_Freeze doesn't know about this conditionality, it just sees the
import statement and tries to find _scproxy. When that doesn't exist,
it gives the warning you see and carries on. Specifying to include
those modules doesn't make any difference: it's already trying to
include them, but the modules aren't there.

You should still get a build folder with an executable binary: try
running that and see if it works.

Thomas

------------------------------------------------------------------------------
For Developers, A Lot Can Happen In A Second.
Boundary is the first to Know...and Tell You.
Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
http://p.sf.net/sfu/Boundary-d2dvs2
_______________________________________________
cx-freeze-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/cx-freeze-users

Reply via email to