I'm trying to follow the directions at https://gist.github.com/1059280#comments for installing hg-git on Win7 with MinGW for compiling (from reading across StackOverflow and elsewhere, it seems that the only bit that needs to be compiled is the dulwich package [git for Python bindings of some sort, I gather.])
I'm using Python27 even though the directions on that site point towards Python26, which I suppose could be the issue.
I'm reluctant to download Visual C++ just for this issue.
I get to the following directions:
Create an import library for MinGW gcc (http://mercurial.selenic.com/wiki/BuildingOnWindows)
> cd c:\python27\libs
> pexports c:\windows\system32\python27.dll > python26.def
and get the following traceback:
PS C:\python27\libs> pexports c:\windows\system32\python27.dll > python27.def
stat: No such file or directory
c:\mingw\bin\pexports.exe: c:\windows\system32\python27.dll: could not load PE image
Python27.dll exists. A "stat" command does not.
Any ideas would be great, thanks.