Does Python code >.require<< a run-time environment?? (New toPyth

bjorn at roguewave.com.bbs bjorn at roguewave.com.bbs
Sun Jul 16 13:40:02 EDT 2000


Paul Prescod wrote:

> Gordon McMillan wrote:
> >
> > ...
> > > For Python, you want to look
> > >at
> > >
> > >http://starship.python.net/crew/gmcm/distribute.html
> > >
> > >For Java, at "jexegen.exe".
> >
> > Sorry, Paul, the latter does not bundle in the interpreter. It just
> > packages up byte code and uses a small exe to start your MS JVM.
>
> True, I forgot that because the MS JVM tends to be installed. I think I
> may have exaggerated the features of the former too. Is there any easy
> way to make a single executable for Python, the standard library,
> required .pyd's and your code? My vague impression is that you could if
> you had a compiler and the source for your pyd's, or else you could fall
> back on an installer (rather than a single big runnable app).

Nah, I distribute my xml scripts as windows .exe files all the time
(including the expat dll).  It's actually quite trivial since the builder
only wraps everything into a zip archive and appends it to the special
Python executable.

-- bjorn



More information about the Python-list mailing list