docs: can use depot_tools Python for Windows build (#26184)

This commit is contained in:
David Sanders 2020-10-28 13:06:32 -07:00 committed by GitHub
parent f489e3054a
commit ad4cb6f8ac
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -13,13 +13,6 @@ Follow the guidelines below for building Electron on Windows.
set a few environment variables to point the toolchains to your installation path.
* `vs2019_install = DRIVE:\path\to\Microsoft Visual Studio\2019\Community`, replacing `2019` and `Community` with your installed versions and replacing `DRIVE:` with the drive that Visual Studio is on. Often, this will be `C:`.
* `WINDOWSSDKDIR = DRIVE:\path\to\Windows Kits\10`, replacing `DRIVE:` with the drive that Windows Kits is on. Often, this will be `C:`.
* [Python 2.7.10 or higher](http://www.python.org/download/releases/2.7/)
* Contrary to the `depot_tools` setup instructions linked below, you will need
to use your locally installed Python with at least version 2.7.10 (with
support for TLS 1.2). To do so, make sure that in **PATH**, your locally
installed Python comes before the `depot_tools` folder. Right now
`depot_tools` still comes with Python 2.7.6, which will cause the `gclient`
command to fail (see https://crbug.com/868864).
* [Python for Windows (pywin32) Extensions](https://pypi.org/project/pywin32/#files)
is also needed in order to run the build process.
* [Node.js](https://nodejs.org/download/)