Re: [python-win32] Compiling Python as a static .exe

2014-01-21 Thread Russell Wallace
Ah, that works now, thanks! That gets me an executable, which if run from within the Python-2.7.6 directory so it can find Lib/*.py, gives the following error message: Traceback (most recent call last): File ".\lib\site.py", line 548, in main() File ".\lib\site.py", line 537, in main

Re: [python-win32] Compiling Python as a static .exe

2014-01-21 Thread Russell Wallace
The '...' is the long list of source files I got from pythoncore.vcproj, plus getbuildinfo.c, and the required include directives. You would think a missing main function would be the explanation, but the absence of a leading _ in the error message is a key indicator. To make sure, I tried adding a

Re: [python-win32] Compiling Python as a static .exe

2014-01-20 Thread Mark Hammond
[oops - resending with CC to python-win32 list] On 21/01/2014 12:12 AM, Russell Wallace wrote: Hi, I'm trying to compile Python 2.7.6 as a statically linked 64-bit Windows executable, and I'm getting a weird error message. As per http://stackoverflow.com/questions/21231439/unresolved-external-s