Skip to content

Commit e069f13

Browse files
authored
doc: Update Python versions (#2571)
* Add Python 3.10 * Drop Python 3.6 which [EOLs on 23 Dec. 2021](https://devguide.python.org/#status-of-python-branches) * macOS: clarify `Xcode Command Line Tools` standalone vs. from full Xcode * Window: Use the same URL as https://github.com/nodejs/node/blob/master/BUILDING.md#windows
1 parent a2f2988 commit e069f13

File tree

1 file changed

+9
-7
lines changed

1 file changed

+9
-7
lines changed

README.md

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -31,21 +31,23 @@ Depending on your operating system, you will need to install:
3131

3232
### On Unix
3333

34-
* Python v3.6, v3.7, v3.8, or v3.9
34+
* Python v3.7, v3.8, v3.9, or v3.10
3535
* `make`
3636
* A proper C/C++ compiler toolchain, like [GCC](https://gcc.gnu.org)
3737

3838
### On macOS
3939

4040
**ATTENTION**: If your Mac has been _upgraded_ to macOS Catalina (10.15), please read [macOS_Catalina.md](macOS_Catalina.md).
4141

42-
* Python v3.6, v3.7, v3.8, or v3.9
43-
* [Xcode](https://developer.apple.com/xcode/download/)
44-
* You also need to install the `XCode Command Line Tools` by running `xcode-select --install`. Alternatively, if you already have the full Xcode installed, you can find them under the menu `Xcode -> Open Developer Tool -> More Developer Tools...`. This step will install `clang`, `clang++`, and `make`.
42+
* Python v3.7, v3.8, v3.9, or v3.10
43+
* `XCode Command Line Tools` which will install `clang`, `clang++`, and `make`.
44+
* Install the `XCode Command Line Tools` standalone by running `xcode-select --install`. -- OR --
45+
* Alternatively, if you already have the [full Xcode installed](https://developer.apple.com/xcode/download/), you can install the Command Line Tools under the menu `Xcode -> Open Developer Tool -> More Developer Tools...`.
46+
4547

4648
### On Windows
4749

48-
Install the current version of Python from the [Microsoft Store package](https://docs.python.org/3/using/windows.html#the-microsoft-store-package).
50+
Install the current version of Python from the [Microsoft Store package](https://www.microsoft.com/en-us/p/python-310/9pjpw5ldxlz5).
4951

5052
Install tools and configuration manually:
5153
* Install Visual C++ Build Environment: [Visual Studio Build Tools](https://visualstudio.microsoft.com/thank-you-downloading-visual-studio/?sku=BuildTools)
@@ -59,8 +61,8 @@ Install tools and configuration manually:
5961

6062
### Configuring Python Dependency
6163

62-
`node-gyp` requires that you have installed a compatible version of Python, one of: v3.6, v3.7,
63-
v3.8, or v3.9. If you have multiple Python versions installed, you can identify which Python
64+
`node-gyp` requires that you have installed a compatible version of Python, one of: v3.7, v3.8,
65+
v3.9, or v3.10. If you have multiple Python versions installed, you can identify which Python
6466
version `node-gyp` should use in one of the following ways:
6567

6668
1. by setting the `--python` command-line option, e.g.:

0 commit comments

Comments
 (0)