From: Mark H. <ski...@gm...> - 2012-08-13 10:11:30
|
On 13/08/2012 7:05 PM, nikhil jain wrote: > 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. What troubles? Please be sure to reply to the list instead of just me directly! Mark > > 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 > > ------------------------------------------------------------------------------ > 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/ > _______________________________________________ > Py2exe-users mailing list > Py2...@li... > https://lists.sourceforge.net/lists/listinfo/py2exe-users > |