Skip to content

Commit 1de3469

Browse files
committed
docs: never run pip directly
1 parent 44cb89f commit 1de3469

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

doc/contributing.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ these steps:
4848

4949
#. Install the requirements::
5050

51-
$ pip install -r requirements/dev.pip
51+
$ python3 -m pip install -r requirements/dev.pip
5252

5353
#. Install a number of versions of Python. Coverage.py supports a range
5454
of Python versions. The more you can test with, the more easily your code

doc/index.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ Getting started is easy:
5656

5757
#. Install coverage.py::
5858

59-
$ pip install coverage
59+
$ python3 -m pip install coverage
6060

6161
For more details, see :ref:`install`.
6262

doc/install.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,19 +15,19 @@ Installation
1515

1616
You can install coverage.py in the usual ways. The simplest way is with pip::
1717

18-
$ pip install coverage
18+
$ python3 -m pip install coverage
1919

2020
.. ifconfig:: prerelease
2121

2222
To install a pre-release version, you will need to specify ``--pre``::
2323

24-
$ pip install --pre coverage
24+
$ python3 -m pip install --pre coverage
2525

2626
or the exact version you want to install:
2727

2828
.. parsed-literal::
2929
30-
$ pip install |coverage-equals-release|
30+
$ python3 -m pip install |coverage-equals-release|
3131
3232
.. _install_extension:
3333

doc/plugins.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ a coverage.py plug-in called ``something.plugin``.
2929

3030
.. code-block:: sh
3131
32-
$ pip install something
32+
$ python3 -m pip install something
3333
3434
#. Configure coverage.py to use the plug-in. You do this by editing (or
3535
creating) your .coveragerc file, as described in :ref:`config`. The

0 commit comments

Comments
 (0)