Re: [python-win32] Embedding/bundling Python, best practices?

2008-01-29 Thread Mark Hammond
Cole [mailto:[EMAIL PROTECTED] Sent: Tuesday, 29 January 2008 4:21 PM To: Mark Hammond Cc: Tim Roberts; Python-Win32 List Subject: Re: [python-win32] Embedding/bundling Python, best practices? Mark: Where can one find a cookbook for HOW to build python and/or pywin32 from source? I guessed

Re: [python-win32] Embedding/bundling Python, best practices?

2008-01-28 Thread Tim Roberts
Arve Knudsen wrote: I'm aware that I can disregard the Python executable. The problem is rather how the Python runtime can be safely bundled. I guess it would be enough to copy the parts of the Python installation that contains the Python DLL and its extension modules (standard library as

Re: [python-win32] Embedding/bundling Python, best practices?

2008-01-28 Thread Mark Hammond
TimR wrote: You need to set the Python path variable before calling the interpreter. You can do that by setting the PYTHONPATH environment variable, but I believe you can also do that by setting variables when you initialize the interpreter. Actually, if the 'lib' directory can be found

Re: [python-win32] Embedding/bundling Python, best practices?

2008-01-28 Thread Vernon Cole
Mark: Where can one find a cookbook for HOW to build python and/or pywin32 from source? I guessed that one should use VS 2003 (which I have) but I have no clue how to make it actually compile. Someone mentioned a patch to compile using a later (2005?) version of Visual Studio. I really want to

Re: [python-win32] Embedding/bundling Python, best practices?

2008-01-27 Thread Arve Knudsen
, January 25, 2008 4:01 AM To: python-win32@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

Re: [python-win32] Embedding/bundling Python, best practices?

2008-01-27 Thread Arve Knudsen
Hi Tim On Jan 25, 2008 7:12 PM, Tim Roberts [EMAIL PROTECTED] wrote: Arve Knudsen wrote: 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

[python-win32] Embedding/bundling Python, best practices?

2008-01-25 Thread Arve Knudsen
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,

Re: [python-win32] Embedding/bundling Python, best practices?

2008-01-25 Thread Paul Koning
Of Arve Knudsen Sent: Friday, January 25, 2008 4:01 AM To: python-win32@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

Re: [python-win32] Embedding/bundling Python, best practices?

2008-01-25 Thread Tim Roberts
Arve Knudsen wrote: 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

Re: [python-win32] Embedding/bundling Python, best practices?

2008-01-25 Thread Ludovic Reenaers
[EMAIL PROTECTED]; python-win32@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