[Tutor] Compile python to executable binary?

Jose Alberto Abreu abreu@penguinpowered.com
Sat, 30 Dec 2000 11:16:13 -0600


D-Man wrote:
> 
> I can't answer all of the questions, but you can run your app without
> a separate interpreter installed on the machine *if*
> 
> 1)      You package an interpreter with your installer
>         (basically you provide it for them)

But how do you do that: put the interpreter, the required modules and
your code on a couple of .exe's or perhaps using installshield (in the
case of Windows, for example).

Distributing python programs for Linux is much easier, as almost all
linux distributions will install (at least) python 1.5, but trying to
get the average Windows user to go and download and install python so
that they can run your code is not realistic.

> or
> 
> 2)      You package an interpreter with your program.  Maybe make a
> little C program that embeds the interpreter and runs your scripts.

Is there an opensourced thing that does this?


-- 
3.14159265358979323846264338327950288419716939937
  Jose Alberto Abreu - abreu@penguinpowered.com
3.14159265358979323846264338327950288419716939937