Skip to content

Commit be83c0a

Browse files
committed
Bug 1554759 [wpt PR 16670] - [docs] Add information on virtualenv, a=testonly
Automatic update from web-platform-tests [docs] Add information on virtualenv (#16670) Many of the subcommands of the WPT CLI require the `virtualenv` utility, but the installation instructions did not instruct contributors to install it. Add an installation step describing how to install the dependency. -- wp5At-commits: 9954b61de31f317c7a0a3e286aca0731b81e7e5f wpt-pr: 16670 UltraBlame original commit: 5de9eb5dce510e7be8750950ac4ce828f624462a
1 parent 9bdb26e commit be83c0a

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

testing/web-platform/tests/docs/running-tests/from-local-system.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,21 @@ On Windows, be sure to add the Python directory (`c:\python2x`, by default) to
1111
your `%Path%` [Environment Variable](http://www.computerhope.com/issues/ch000549.htm),
1212
and read the [Windows Notes](#windows-notes) section below.
1313

14+
<!--
15+
There does not appear to be a cross-platform means of installing `pip`.
16+
https://github.com/web-platform-tests/wpt/pull/16670
17+
-->
18+
19+
Install `pip`. On many systems, this can be achieved with the command `python
20+
-m ensurepip`. If this is not possible, use your system's package manager to
21+
install the `python-pip` package.
22+
23+
Next, install `virtualenv` using the following command:
24+
25+
```bash
26+
pip install virtualenv
27+
```
28+
1429
To get the tests running, you need to set up the test domains in your
1530
[`hosts` file](http://en.wikipedia.org/wiki/Hosts_%28file%29%23Location_in_the_file_system).
1631

0 commit comments

Comments
 (0)