From d8fa227c268007dfc6a747c6727672ae8c950aba Mon Sep 17 00:00:00 2001 From: Piotr Rybak Date: Sat, 30 Oct 2021 19:55:20 +0900 Subject: [PATCH] doc: add note about pip being required Clean install requires pip to make coverage but instructions didn't mention it. PR-URL: https://github.com/nodejs/node/pull/40669 Reviewed-By: Luigi Pinca Reviewed-By: James M Snell --- BUILDING.md | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/BUILDING.md b/BUILDING.md index ae94b8846e97d2..eec3971a0528b6 100644 --- a/BUILDING.md +++ b/BUILDING.md @@ -233,17 +233,18 @@ The Node.js project supports Python >= 3 for building and testing. #### Unix prerequisites -* `gcc` and `g++` >= 8.3 or newer, or +* `gcc` and `g++` >= 8.3 or newer * GNU Make 3.81 or newer * Python 3.6, 3.7, 3.8, 3.9, or 3.10 (see note above) + * For test coverage, your Python installation must include pip. Installation via Linux package manager can be achieved with: -* Ubuntu, Debian: `sudo apt-get install python3 g++ make` -* Fedora: `sudo dnf install python3 gcc-c++ make` -* CentOS and RHEL: `sudo yum install python3 gcc-c++ make` -* OpenSUSE: `sudo zypper install python3 gcc-c++ make` -* Arch Linux, Manjaro: `sudo pacman -S python gcc make` +* Ubuntu, Debian: `sudo apt-get install python3 g++ make python3-pip` +* Fedora: `sudo dnf install python3 gcc-c++ make python3-pip` +* CentOS and RHEL: `sudo yum install python3 gcc-c++ make python3-pip` +* OpenSUSE: `sudo zypper install python3 gcc-c++ make python3-pip` +* Arch Linux, Manjaro: `sudo pacman -S python gcc make python-pip` FreeBSD and OpenBSD users may also need to install `libexecinfo`. @@ -251,6 +252,7 @@ FreeBSD and OpenBSD users may also need to install `libexecinfo`. * Xcode Command Line Tools >= 11 for macOS * Python 3.6, 3.7, 3.8, 3.9, or 3.10 (see note above) + * For test coverage, your Python installation must include pip. macOS users can install the `Xcode Command Line Tools` by running `xcode-select --install`. Alternatively, if you already have the full Xcode