Skip to content

Commit 3fd6e80

Browse files
authored
Merge pull request swiftlang#31308 from patrickdes/windows-doc
doc: Update WindowsBuild.md (python section)
2 parents 618ced8 + e0c85bc commit 3fd6e80

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

docs/WindowsBuild.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,21 @@ The following must take place in the **developer command prompt** (provided by V
1515

1616
The following [link](https://docs.microsoft.com/visualstudio/install/workload-component-id-vs-build-tools?view=vs-2019) helps in finding the component name given its ID for Visual Studio 2019.
1717

18+
### Python
19+
20+
In the Visual Studio installation program, under *Individual Components*
21+
22+
1. Install *Python 2*, either the 32-bit version (C:\Python27\\) or the 64-bit version (C:\Python27amd64\\)
23+
2. Install *Python 3 64 bits (3.7.x)*
24+
25+
If you are building a debug version of Swift, you should also install the Python debug binaries.
26+
27+
1. In the Windows settings, go to *Add and Remove Programs*
28+
2. Select the *Python 3.7.x (64-bit)* entry
29+
3. Click *Modify*, then *Yes*, then *Modify* again and then *Next*
30+
4. Select *Download debug binaries (requires VS 2015 or later)*
31+
5. Click *Install*
32+
1833
## Clone the repositories
1934

2035
1. Clone `apple/llvm-project` into a directory for the toolchain

0 commit comments

Comments
 (0)