On 08/03/11, Waldemar Osuch (waldemar.os...@gmail.com) wrote: > At my work place I still use py2exe but I do not rely on its automatic > discovery and packaging. > > The setup.py lists all the dependencies explicitly in "packages" and > "includes" parameters. These end up in library.zip. > > Then the source file paths with the actual business logic are gathered > with os.walk and passed in as data_files parameter. > > Finally the actual service executable is generated from the very > minimal script. This executable is registered only once and as long as > you do not move it to a different directory Windows will find it and > start it up for you. > > The service script that gets used by py2exe is truly minimal. It just > changes working directory to where the executable sits, adds current > directory to the sys.path and loads the main script.
... Hi Waldemar. Thanks for your advice. I'll have another play with py2exe. Many thanks Rory -- Rory Campbell-Lange r...@campbell-lange.net -- http://mail.python.org/mailman/listinfo/python-list