diff options
author | Piotr Rybak <rybak.piotr@yahoo.com> | 2021-10-30 13:55:20 +0300 |
---|---|---|
committer | Danielle Adams <adamzdanielle@gmail.com> | 2022-02-01 07:08:53 +0300 |
commit | f35bd5223fe6f9a97eedaf25ea8d6eacd2a246f8 (patch) | |
tree | dab19c709dd557a1f577f14e9dc2c2e2802e8a41 /BUILDING.md | |
parent | 33be3e845170bb6f6c0d40071d3dbb665c4f2835 (diff) |
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 <luigipinca@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Diffstat (limited to 'BUILDING.md')
-rw-r--r-- | BUILDING.md | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/BUILDING.md b/BUILDING.md index 3c7cc9341a3..1644e14d05b 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 |