763
Comment:
|
1365
|
Deletions are marked like this. | Additions are marked like this. |
Line 2: | Line 2: |
== References: == [[VS2010]] |
|
Line 3: | Line 6: |
1. Download Python 2.7.5 source from python.org | |
Line 5: | Line 7: |
2. Download and install an SVN command-line client (Try SlickSVN) | 1. Create a directory to store the Python source tree and dependencies, I called mine `python_build`. |
Line 7: | Line 9: |
3. Download and install Perl64 | 2. Download Python 2.7.5 source from python.org and unzip it to `python_build` |
Line 9: | Line 11: |
4. Download and install Visual Studio Express 2012 | 3. Download and install an SVN command-line client (Try SlickSVN) 4. Download and install Perl64 5. Download and install Visual Studio Express 2012 |
Line 12: | Line 18: |
Line 22: | Line 29: |
}}} | |
Line 23: | Line 31: |
Copyright (C) Microsoft Corporation. All rights reserved. | 3. Try running the svn client: 'svn --version': |
Line 25: | Line 33: |
usage: cl [ option... ] filename... [ /link linkoption... ] | . {{{ svn, version 1.8.3-SlikSvn-1.8.3-X64 (SlikSvn/1.8.3) X64 compiled Sep 4 2013, 16:04:02 on x86_64/x86-microsoft-windows6.1.7601 Copyright (C) 2013 The Apache Software Foundation. |
Line 27: | Line 39: |
4. Try running perl: 'perl --version' . {{{ This is perl 5, version 16, subversion 3 (v5.16.3) built for MSWin32-x64-multi-thread }}} == Download dependencies == Use the `buildbot` tools to grab the external dependencies: {{{ cd Python2.7.5 Tools\buildbot\external-common.bat }}} |
How to build Python 2.7.5 using Visual Studio 2012 Express on Windows 8 64-bit
References:
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 python.org 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:
call "C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\vcvarsall.bat" x86_amd64
Verify by typing 'cl.exe':Microsoft (R) C/C++ Optimizing Compiler Version 17.00.60610.1 for x64
3. Try running the svn client: 'svn --version':
svn, version 1.8.3-SlikSvn-1.8.3-X64 (SlikSvn/1.8.3) X64 compiled Sep 4 2013, 16:04:02 on x86_64/x86-microsoft-windows6.1.7601 Copyright (C) 2013 The Apache Software Foundation.
4. Try running perl: 'perl --version'
This is perl 5, version 16, subversion 3 (v5.16.3) built for MSWin32-x64-multi-thread
Download dependencies
Use the buildbot tools to grab the external dependencies:
cd Python2.7.5 Tools\buildbot\external-common.bat