I used his test code and this command line:
c:\python27\scripts\cxfreeze blah.py --target-dir c:\temp\test\dist

got this upon running blah.exe:
C:\temp\test\dist>blah
Traceback (most recent call last):
  File
"C:\Python27\lib\site-packages\cx_Freeze\initscripts\Console.py", line
27
, in <module>
    exec code in m.__dict__
  File "blah.py", line 2, in <module>
ImportError: No module named logging

Chris.

On Tue, 30 Nov 2010 14:12:20 -0500, Scott Leerssen
<sleers...@racemi.com> wrote:
>> This does it for me:
>> 
>> import sys
>> import logging
>> sys.exit(0)
>> 
>
>Actually, I missed a line:
>
>import sys
>import logging
>import logging.config
>sys.exit(0)

------------------------------------------------------------------------------
Increase Visibility of Your 3D Game App & Earn a Chance To Win $500!
Tap into the largest installed PC base & get more eyes on your game by
optimizing for Intel(R) Graphics Technology. Get started today with the
Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs.
http://p.sf.net/sfu/intelisp-dev2dev
_______________________________________________
cx-freeze-users mailing list
cx-freeze-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/cx-freeze-users

Reply via email to