Differences between revisions 4 and 5
Revision 4 as of 2004-05-18 20:43:20
Size: 623
Editor: BSN-77-246-145
Revision 5 as of 2008-07-08 11:27:44
Size: 623
Editor: localhost
Comment: converted to 1.6 markup
No differences found!

How can py2exe help shipping emedded Python projects

An embedded Python project relies on several modules. Finding these modules is very easy using py2exe.

Create a setup.py script with the following lines:

from distutils.core import setup
import py2exe


And then run it with your script in the command line

python setup.py py2exe --includes mymodule

This will create a dist directory with all the files your embedded python needs. Rename library.zip to python23.zip and place all the files in the application directory.

Miki <miki.tebeka@zoran.com>

ShippingEmbedded (last edited 2008-07-08 11:27:44 by localhost)