Need to build Python 2.6 with Microsoft Visual Studio 2010



For reasons beyond my control, I have a need to build Python 2.6 with
MSVC 2010 (for x64). Does anyone have any hints as to how I can
accomplish this? I see there are instructions for building Python 2.7
with MSVC 2010, but those are using the Python 2.7 source as the base
for patching, so they do me little to no good. My main tripping point
right now is the deprecation of vcbuild (replaced by msbuild). I can
run msbuild on the 2.6 solution files:

msbuild PCbuild\pcbuild.sln /p:Configuration="Release" /
p:platform="x64"

but I get all sorts of errors, related to vcbuild not being
available. Will this be as simple as getting the project/solution
files up to date for MSVC 2010, or am I going to have to patch a lot
of code?

Any and all help is much appreciated

Thanks in advance,

Tom
.



Relevant Pages

  • RE: EXTERNAL: Re: missing python-config and building python on Windows
    ... installing what I have just built using MSVC. ... instructions for installing after building with MSVC? ... should try to build python on SuSE to see how it goes. ... One reason I was using the python.org installer is that it already had the ...
    (comp.lang.python)
  • Re: which windows python to use?
    ... In this case, MSVC 7., I think. ... I meant to build Python itself. ... MS toolkit or mingw and munging the dlls to conform to the MSVC 7 formats. ... Building stock-2.4 extension modules using mingw works for the most part. ...
    (comp.lang.python)
  • Re: =?UTF-8?B?QW5kcm9pZOKAlFdoeSBEYWx2aWs/?=
    ... group, if you wanted to build a C/C++ extension for Python, you had to ... But that would be true of everything built with MSVC. ...
    (comp.lang.java.programmer)
  • Re: Python DLL in Windows Folder
    ... your application to the Python interpreter which is compiled with MSVC ... string object, just simple string with no strings attached: ... it is msvcr8 with Python DLL, this is a case of Your Program talking ...
    (comp.lang.python)