Packaging Python into COM object?

Alex Martelli aleax at aleax.it
Thu Dec 6 09:28:20 EST 2001


"Rachmat Hartono" <rachmat at bcl-computers.com> wrote in message
news:V4aP7.61268$RG1.33657094 at news1.rdc1.sfba.home.com...
> Hi, I'm just starting to use Python for our project and I have questions..
>
> Is it possible to package all python code into one COM DLL (Windows)? If

No.  You need non-COM interactions too; just COM doesn't suffice.

> this is possible, that means I don't have to put Python distribution
(2.1.1
> or 2.2)  in my installation package once I'm ready to ship the product
> right? What modules needs to be distributed though? Can anyone give me a
> pointer of how I can do this?

Two possibilities, for example:
http://starship.python.net/crew/theller/py2exe/
http://www.mcmillan-inc.com/install5_ann.html



Alex






More information about the Python-list mailing list