Arve, > > Message: 7 > Date: Fri, 25 Jan 2008 10:01:12 +0100 > From: "Arve Knudsen" <[EMAIL PROTECTED]> > Subject: [python-win32] Embedding/bundling Python, best practices? > To: python-win32@python.org > Message-ID: > <[EMAIL PROTECTED]> > Content-Type: text/plain; charset=ISO-8859-1 > > 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 >
I've never done this before, but I have read about it a bit. The official Python docs talk about it (see below): http://www.python.org/doc/ext/embedding.html And this article talks about it briefly: http://www.developer.com/lang/other/article.php/2217941 Finally, I found an article that explains the difference between extending and embedding: http://twistedmatrix.com/users/glyph/rant/extendit.html Why do you want to embed it? If you're just distributing an application, you don't need to do embedding. You can just use py2exe. Mike Driscoll Applications Specialist MCIS - Technology Center 1 E. Main St. Marshalltown, IA 50158 [EMAIL PROTECTED] 641-844-2802 _______________________________________________ python-win32 mailing list python-win32@python.org http://mail.python.org/mailman/listinfo/python-win32