@@ -226,12 +226,18 @@ directory. This script extracts all the external sub-projects from
226226and
227227 https://github.com/python/cpython-bin-deps
228228via a Python script called "get_external.py", located in this directory.
229- If Python 3.6 or later is not available via the "py.exe" launcher, the
230- path or command to use for Python can be provided in the PYTHON_FOR_BUILD
231- environment variable, or get_externals.bat will download the latest
232- version of NuGet and use it to download the latest "pythonx86" package
233- for use with get_external.py. Everything downloaded by these scripts is
234- stored in ..\externals (relative to this directory).
229+ Everything downloaded by these scripts is stored in ..\externals
230+ (relative to this directory), or the path specified by the EXTERNALS_DIR
231+ environment variable.
232+
233+ The path or command to use for Python can be provided with the
234+ PYTHON_FOR_BUILD environment variable. If this is not set, an active
235+ virtual environment will be used. If none is active, and HOST_PYTHON is
236+ set to a recent enough version or "py.exe" is able to find a recent
237+ enough version, those will be used. If all else fails, a copy of Python
238+ will be downloaded from NuGet and extracted to the externals directory.
239+ This will then be used for later builds (see PCbuild/find_python.bat
240+ for the full logic).
235241
236242It is also possible to download sources from each project's homepage,
237243though you may have to change folder names or pass the names to MSBuild
0 commit comments