Revision 7 as of 2013-10-05 19:50:13

Clear message

How to build Python 2.7.5 using Visual Studio 2012 Express on Windows 8 64-bit



Prepare Environment

1. Create a directory to store the Python source tree and dependencies, I called mine python_build.

2. Download Python 2.7.5 source from and unzip it to python_build

3. Download and install an SVN command-line client (Try SlickSVN)

4. Download and install Perl64

5. Download and install Visual Studio Express 2012

Test Environment

1. Open a shell

2. Bring in the msvc compiler environment for x64 by doing:

3. Try running the svn client: 'svn --version':

4. Try running perl: 'perl --version'

Download dependencies

Use the buildbot tools to grab the external dependencies:

Patch External Dependencies



Compile External Dependencies

Manually Build Openssl 1.0.1e

1. Download and unzip openssl-1.0.1e.tar.gz

2. Configure openssl:

3. Build with these commands:

Convert Visual Studio 2008 Solution

1. Open Python-2.7.5\PCbuild\pcbuild.sln with Visual Studio 2012 Express

2. Click OK to perform the "One-Way" upgrade on all the project files.

3. Immediately close Visual Studio 2012 Express

Patch Project Files

There are a lot of patches. I'll see if I can upload a .txt file or not.

Unable to edit the page? See the FrontPage for instructions.