From: Doug R. <dou...@ya...> - 2006-02-09 23:08:35
|
Thomas Heller <theller <at> python.net> writes: > > Doug Robertson <doug_b_robertson <at> yahoo.com> writes: > > > Hi, > > > > I cannot get the single file to work on even a simple script. For script > > "test.py", I always get: > > > > test.exe > > library.zip > > w9xpopen.exe > > > > My setup.py looks like: > > > > from distutils.core import setup > > import py2exe > > > > setup(console=["test.py"]) > > Use > > 'setup(console=["test.py"], zipfile=None)' > > to append the library.zip file to the exe. Then you only have test.exe > and w9xpopen.exe. You can safely ignore or delete w9xpopen.exe unless > your program uses one of the os.popen function under Win98. It may be > possible to instruct the setup script to not create the w9xpopen.exe in > the dist folder, but currently it escapes me how. Thomas, Thanks - this works, and I'm off and running. I love Python, but py2exe really extends the scope of it. I have a client to whom I want to give the functionality of a script, but without the requirement for him to install Python, and without giving away the source. BTW - congratulations; you have really made a contribution to the Python community, and your successors continue to do so. If only there were more like you. Regards, Doug |