Hi Malcolm,
Problem solved! For some reason _socket.pyd was not added to the install; I manually included it with Advanced Installer and now it works. I can only presume that with my other application (the one that included CherryPy and simplejson) I have some 'include' that causes _socket.pyd to be included in my Windows install, but this application did not. Sorry if I wasted your time. I would just like to say that I have been programming for the past 40 years (but only the last 3 in Python with wxPython) and what a pleasure Python and all its associated programs have been, with unbelievable support. I am sure that many others, like me, appreciate the time and expertise that people like you and your colleagues give so generously to this community. Thanks again, Andrew Tom, > You don't need to add a whole load of imports inside a "if False" block to make py2exe add them. If I recall correctly there is a option in py2exe to force exclude and include modules when compiling. <embarrased grin> DOH! You're right! </embarrassed grin> I've been doing a lot of work with our automated build cycle and I must have looked at 100 different setup.py's. We do use these features to fine tune our py2exe setup scripts for each application. We just missed using these features for forcing our large 'standard library (kitchen sink)' collection of modules. Good catch! Thank you, Malcolm
_______________________________________________ python-win32 mailing list python-win32@python.org http://mail.python.org/mailman/listinfo/python-win32