mxCGIPython question (was: Build the Python library into the binary)

Florent Heyworth florent.heyworth at
Sat Jun 26 00:33:24 CEST 1999

Thomas Heller wrote:

> > Hi
> >
> > did you have a look at mxCGIPython at
> > ?
> > This is a single executable not shared library with the
> > standard Python library embedded.
> >
> > Cheers
> > --
> > Florent Heyworth
> >
> Works great, except for one problem (under Windows):
> you cannot use any extension modules, because they do
> not find python15.dll (or, worse, they find the wrong
> python15.dll).
> Is it possible to build a python15.dll containing the
> standard library or is it only possible to freeze executables?
> Thomas Heller

Hi Thomas

yes it is possible to build a python15.dll containing the standard
library. In fact it's  easier than making an excutable out of it as the
whole build process on Windows is geared to producing dlls. I haven't
had time to make notes or automate the build process yet but email me if
you want some info and I'll try to scrape something together.

Marc Lemburg's mxCGIPython package is a good starting point.


Florent Heyworth

More information about the Python-list mailing list