Skip to content

Commit 4fd791b

Browse files
committed
Update documentation
1 parent 5bb7544 commit 4fd791b

File tree

1 file changed

+6
-13
lines changed

1 file changed

+6
-13
lines changed

docs/running-tests/from-local-system.md

Lines changed: 6 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ The tests are designed to be run from your local computer.
44

55
## System Setup
66

7-
Running the tests requires `python`, `pip` and `virtualenv`, as well as updating
8-
the system `hosts` file.
7+
Running the tests requires `python` and `pip` as well as updating the
8+
system `hosts` file.
99

1010
WPT requires Python 3.7 or higher.
1111

@@ -14,12 +14,12 @@ The required setup is different depending on your operating system.
1414
### Linux Setup
1515

1616
If not already present, use the system package manager to install `python`,
17-
`pip` and `virtualenv`.
17+
and `pip`.
1818

19-
On Debian or Ubuntu:
19+
On Ubuntu:
2020

2121
```bash
22-
sudo apt-get install python python-pip virtualenv
22+
sudo apt-get install python3 python3-pip python3-venv
2323
```
2424

2525
It is important to have a package that provides a `python` binary. On Fedora,
@@ -28,13 +28,12 @@ Ubuntu Focal and later, the package is called `python-is-python3`.
2828

2929
### macOS Setup
3030

31-
The system-provided Python can be used, while `pip` and `virtualenv` can be
31+
The system-provided Python can be used, while `pip` can be
3232
installed for the user only:
3333

3434
```bash
3535
python -m ensurepip --user
3636
export PATH="$PATH:$( python3 -m site --user-base )/bin"
37-
pip install --user virtualenv
3837
```
3938

4039
To make the `PATH` change persistent, add it to your `~/.bash_profile` file or
@@ -50,12 +49,6 @@ installer includes `pip` by default.
5049
Add `C:\Python39` and `C:\Python39\Scripts` to your `%Path%`
5150
[environment variable](http://www.computerhope.com/issues/ch000549.htm).
5251

53-
Finally, install `virtualenv`:
54-
55-
```bash
56-
pip install virtualenv
57-
```
58-
5952
The standard Windows shell requires that all `wpt` commands are prefixed
6053
by the Python binary i.e. assuming `python` is on your path the server is
6154
started using:

0 commit comments

Comments
 (0)