From: nikhil j. <nik...@gm...> - 2012-08-13 09:05:38
|
Here is my complete script: pastebin.com/LWUSU3cc . Its a simple text to speech app, that uses pyttsx and threading features. Now I want to package into a exe. But am having troubles with this. This is my setup.py file. #COMPILE python setup.py py2exe --includes pyttsx.drivers.sapi5 from distutils.core import setup import py2exe py2exe_options = dict( includes = "pyttsx.drivers.sapi5", typelibs = [ ('{C866CA3A-32F7-11D2-9602-00C04F8EE628}', 0, 5, 0), ('{C866CA3A-32F7-11D2-9602-00C04F8EE628}', 0, 5, 0), ] ) setup(console=['speechplay.py']) I got the typelibs from gen_py folder, which looks like this: http://i.imgur.com/bnpnJ.jpg . To be honest , I have no idea what modules to include . Kindly help Thanks Nikhil |