diff options
author | Zachary Ware <zachary.ware@gmail.com> | 2017-06-15 22:08:51 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-06-15 22:08:51 -0500 |
commit | 51599e2bdd10ab77212a7cbb41a13ea70ee13da8 (patch) | |
tree | fcab1fc60d7fc81f55836dde4faa7b9067327443 /PCbuild/readme.txt | |
parent | 7a801839e9a88bdcac5aaab494b532230fcf7caa (diff) | |
download | cpython-git-51599e2bdd10ab77212a7cbb41a13ea70ee13da8.tar.gz |
bpo-30450: Pull Windows dependencies from GitHub rather than svn (GH-1783)
The Windows build now depends on Python 3.6 to fetch externals, but it will be downloaded via NuGet (which is downloaded via PowerShell) if it is not available via `py -3.6`. This means the only thing that must be installed on a modern Windows box to do a full build of CPython with all extensions is Visual Studio.
Also fixes an outdated note about _lzma in PCbuild/readme.txt
Diffstat (limited to 'PCbuild/readme.txt')
-rw-r--r-- | PCbuild/readme.txt | 24 |
1 files changed, 16 insertions, 8 deletions
diff --git a/PCbuild/readme.txt b/PCbuild/readme.txt index e92e51c4be..316475f5a9 100644 --- a/PCbuild/readme.txt +++ b/PCbuild/readme.txt @@ -2,9 +2,11 @@ Quick Start Guide ----------------- 1. Install Microsoft Visual Studio 2015, any edition. -2. Install Subversion, and make sure 'svn.exe' is on your PATH. -3. Run "build.bat -e" to build Python in 32-bit Release configuration. -4. (Optional, but recommended) Run the test suite with "rt.bat -q". +1a. Optionally install Python 3.6 or later. If not installed, + get_externals.bat (build.bat -e) will download and use Python via + NuGet. +2. Run "build.bat -e" to build Python in 32-bit Release configuration. +3. (Optional, but recommended) Run the test suite with "rt.bat -q". Building Python using Microsoft Visual C++ @@ -164,8 +166,7 @@ _bz2 Homepage: http://www.bzip.org/ _lzma - Python wrapper for the liblzma compression library, using pre-built - binaries of XZ Utils version 5.0.5 + Python wrapper for version 5.2.2 of the liblzma compression library Homepage: http://tukaani.org/xz/ _ssl @@ -236,9 +237,16 @@ order to download the relevant source files for each project before they can be built. However, a simple script is provided to make this as painless as possible, called "get_externals.bat" and located in this directory. This script extracts all the external sub-projects from - http://svn.python.org/projects/external -via Subversion (so you'll need svn.exe on your PATH) and places them -in ..\externals (relative to this directory). + https://github.com/python/cpython-source-deps +and + https://github.com/python/cpython-bin-deps +via a Python script called "get_external.py", located in this directory. +If Python 3.6 or later is not available via the "py.exe" launcher, the +path or command to use for Python can be provided in the PYTHON_FOR_BUILD +environment variable, or get_externals.bat will download the latest +version of NuGet and use it to download the latest "pythonx86" package +for use with get_external.py. Everything downloaded by these scripts is +stored in ..\externals (relative to this directory). It is also possible to download sources from each project's homepage, though you may have to change folder names or pass the names to MSBuild |