[python-win32] Embedding/bundling Python, best practices? (original) (raw)

Ludovic Reenaers lreenaers at ressource-toi.org
Fri Jan 25 15:50:35 CET 2008


For info Py2exe provides same functionalities for linux package generation aswell, in case your app' has to be distributed on other platforms. Ludo


From: "Paul Koning" <pkoning at equallogic.com> Sent: Friday, January 25, 2008 12:45 PM To: "Arve Knudsen" <arve.knudsen at gmail.com>; <python-win32 at python.org> Subject: Re: [python-win32] Embedding/bundling Python, best practices?

We've done that by using py2exe to build the executable program, then take the output from that process and give it to an installer in the conventional Windows way. Works nicely, no external dependencies at all (it's all self-contained). You can even avoid the installer at a small cost in runtime startup time.

If you do that with multiple apps you get multiples copies of the dependencies (everything is self-contained). I expect that can be avoided but I haven't looked to see how. paul

-----Original Message----- From: python-win32-bounces at python.org [mailto:python-win32-bounces at python.org] On Behalf Of Arve Knudsen Sent: Friday, January 25, 2008 4:01 AM To: python-win32 at python.org Subject: [python-win32] Embedding/bundling Python, best practices?

Hello, We're planning to embed Python in our application, which mainly runs on Windows. To avoid dependencies, we want to bundle Python. Do any of you know of any resources on the Web describing best practices for bundling Python with an application, particularly on Windows? I have googled a bit, but most advice I found was to extend Python instead of embedding it, which wasn't very helpful :) Thanks, Arve Knudsen


python-win32 mailing list python-win32 at python.org http://mail.python.org/mailman/listinfo/python-win32


python-win32 mailing list python-win32 at python.org http://mail.python.org/mailman/listinfo/python-win32



More information about the python-win32 mailing list