[PythonCE] py2exe

Thomas Heller theller at python.net
Fri Jun 2 08:41:42 CEST 2006


 Luke Dunstan wrote:
> ----- Original Message ----- 
> From: "Brad Clements" <bkc at murkworks.com>
> To: <pythonce at python.org>
> Sent: Friday, June 02, 2006 7:58 AM
> Subject: Re: [PythonCE] py2exe
> 
> 
>> On 1 Jun 2006 at 20:59, ahmad adel rldardiry wrote:
>>
>>> Could this be done? A py2exe version for pocketpc, that generates an
>>> executable that can run on Pocket PC?
>>
>> py2exe requires ctypes. I think there was some progress getting ctypes to 
>> work
>> on Windows CE.

No, py2exe does not require ctypes (AFAIK ;-).

> Actually I ported ctypes months ago, and since then both Thomas Heller and I 
> have released ctypes binaries for versions of PythonCE.
> 
>>
>> However you'd still need a linker for ARM and pre-made DLLs, plus figure 
>> out if
>> the .zip'd python scripts can be appended to a Windows CE executable 
>> (that's the
>> trick py2exe uses to bundle everything up on X86 platforms)
> 
> Yes, that may be the tricky part I think, but I have not looked into it.

If that does not work or is not possible, one should still be able to
build with a separate library.zip.

Thomas



More information about the PythonCE mailing list