@@ -4,8 +4,8 @@ The tests are designed to be run from your local computer.
4
4
5
5
## System Setup
6
6
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.
9
9
10
10
WPT requires Python 3.7 or higher.
11
11
@@ -14,12 +14,12 @@ The required setup is different depending on your operating system.
14
14
### Linux Setup
15
15
16
16
If not already present, use the system package manager to install ` python ` ,
17
- ` pip ` and ` virtualenv ` .
17
+ and ` pip ` .
18
18
19
- On Debian or Ubuntu:
19
+ On Ubuntu:
20
20
21
21
``` bash
22
- sudo apt-get install python python -pip virtualenv
22
+ sudo apt-get install python3 python3 -pip python3-venv
23
23
```
24
24
25
25
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`.
28
28
29
29
### macOS Setup
30
30
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
32
32
installed for the user only:
33
33
34
34
``` bash
35
35
python -m ensurepip --user
36
36
export PATH=" $PATH :$( python3 -m site --user-base ) /bin"
37
- pip install --user virtualenv
38
37
```
39
38
40
39
To make the ` PATH ` change persistent, add it to your ` ~/.bash_profile ` file or
@@ -50,12 +49,6 @@ installer includes `pip` by default.
50
49
Add ` C:\Python39 ` and ` C:\Python39\Scripts ` to your ` %Path% `
51
50
[ environment variable] ( http://www.computerhope.com/issues/ch000549.htm ) .
52
51
53
- Finally, install ` virtualenv ` :
54
-
55
- ``` bash
56
- pip install virtualenv
57
- ```
58
-
59
52
The standard Windows shell requires that all ` wpt ` commands are prefixed
60
53
by the Python binary i.e. assuming ` python ` is on your path the server is
61
54
started using:
0 commit comments