[PythonCE] How does one build PythonCE?

Luke Dunstan coder_infidel at hotmail.com
Fri Dec 14 11:10:05 CET 2007

From: "Ronald Oussoren" <ronaldoussoren at mac.com>
Sent: Thursday, December 13, 2007 10:47 PM
To: <pythonce at python.org>
Subject: [PythonCE] How does one build PythonCE?

> Hi,
> I'm working on an PocketPC application that embeds Python. Until
> recently I used MS embedded VC++ and reused the binary distribution
> for PythonCE. That worked for the most part (although IIRC I had to
> patch header files to get my code linked).
> We recently switched to MS Visual Studio 2005 and now I'm wondering
> how to build a fresh Python binary using that.  I've download the
> source patches from SF.net and applied those to the head of Python's
> release25-maint branch.  I then build using 'scons.bat' in the PCbuild/
> WinCE directory which, after some patching, results in an executable.
> So far, so good.
> That doesn't include the sqlite extension though, and when I use
> 'scons.bat cab' I get an error about not finding the sqlite3 header
> files. The reason for that is obvious, the solution is less so. The
> build complains because I have to download the sqlite sources and
> store them somewhere, but I have no idea where they should be stored.
> Does anyone here know that?
> BTW. Is there any documentation on the build process? I've been
> reverse engenering the build procedure and that's no fun when you're
> on an unfamiliar platform.
> Ronald

The file README-WinCE.txt should describe how to build it, but it looks like 
I forgot the part about SQLite, sorry.


More information about the PythonCE mailing list