Skip to content

Commit 6135620

Browse files
committed
[WindowsBuild] Deprecate Python 3.7
1 parent 3527ee9 commit 6135620

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

docs/WindowsBuild.md

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ An easy way to get the tools to build Swift is using the [Visual Studio installe
1717
```cmd
1818
curl.exe -sOL https://aka.ms/vs/16/release/vs_community.exe
1919
vs_community ^
20-
--add Component.CPython3.x64 ^
20+
--add Component.CPython39.x64 ^
2121
--add Microsoft.VisualStudio.Component.Git ^
2222
--add Microsoft.VisualStudio.Component.VC.ATL ^
2323
--add Microsoft.VisualStudio.Component.VC.CMake.Project ^
@@ -26,9 +26,7 @@ vs_community ^
2626
del /q vs_community.exe
2727
```
2828

29-
> **NOTE:** For anyone who wants to use Visual Studio 2022 instead:
30-
> - replace `https://aka.ms/vs/16/release/vs_community.exe` with `https://aka.ms/vs/17/release/vs_community.exe`
31-
> - replace `Component.CPython3.x64` with `Component.CPython39.x64`
29+
> **NOTE:** For anyone who wants to use Visual Studio 2022, you can simply replace version number `16` with `17` in the installer URL.
3230
3331
> **NOTE:** 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. For anyone using VS installer in GUI, please check it out.
3432
@@ -37,9 +35,9 @@ del /q vs_community.exe
3735
If you are building a debug version of Swift, you should also install the Python debug binaries.
3836

3937
1. In the Windows settings, go to *Add and Remove Programs*
40-
2. Select the *Python 3.x.x (64-bit)* entry
38+
2. Select the *Python 3.9.x (64-bit)* entry
4139
3. Click *Modify*, then *Yes*, then *Modify* again and then *Next*
42-
4. Select *Download debug binaries (requires VS 2015 or later)*
40+
4. Select *Download debug binaries (requires VS 2017 or later)*
4341
5. Click *Install*
4442

4543
### Set up `vcpkg`

0 commit comments

Comments
 (0)