Differences between revisions 2 and 3
Revision 2 as of 2004-05-13 06:01:11
Size: 593
Editor: zoran-fw1
Comment:
Revision 3 as of 2004-05-18 06:20:26
Size: 625
Editor: zoran-fw1
Comment: Added signature
Deletions are marked like this. Additions are marked like this.
Line 20: Line 20:

Miki <miki.tebeka@zoran.com>

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

setup()

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 you're 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)